comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: C time_t 2038 problem s-os_lib.ads
Date: Thu, 23 Sep 2021 16:26:09 +0200	[thread overview]
Message-ID: <sii2q2$fcn$1@dont-email.me> (raw)
In-Reply-To: <8936f386-3fdb-43b3-b912-317906d59631n@googlegroups.com>

On 9/23/21 12:42 PM, Kevin Chadwick wrote:
> I have noticed that C time_t appears to be Long_integer in Gnat s-os_lib.ads.
> 
> Just wondering if it should be 64bit long long as OpenBSD has already moved to long long?

GNAT defines

    type Long_Integer is range -(2 **63) .. +(2 **63 - 1);
    for Long_Integer'Size use 64;

-- 
Jeff Carter
"I was either in love, or I had smallpox."
Take the Money and Run
137

  reply	other threads:[~2021-09-23 14:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 10:42 C time_t 2038 problem s-os_lib.ads Kevin Chadwick
2021-09-23 14:26 ` Jeffrey R. Carter [this message]
2021-09-23 15:01   ` Kevin Chadwick
2021-09-23 15:08     ` Joakim Strandberg
2021-09-23 15:39       ` Kevin Chadwick
2021-09-23 15:57         ` Kevin Chadwick
2021-09-23 19:52       ` Keith Thompson
2021-09-24  9:32         ` Joakim Strandberg
2021-09-24  9:44           ` Niklas Holsti
2021-09-24 22:54           ` Keith Thompson
2021-09-25 10:22             ` G.B.
2021-09-25 11:23             ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox