public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Year 2038 Issue
@ 2021-07-07 20:09 Steger, Matthew
  2021-07-07 20:38 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Steger, Matthew @ 2021-07-07 20:09 UTC (permalink / raw)
  To: gcc-help

What version (exactly) of GCC added the "time64_t" and all TIME Related functions (including Printing formats) allowed 64-bit time (to FIX the Year 2038 issue with "time_t")

Also did *ANY* version of GCC support 32-bit UNSIGNED time (good until 2106) including all TIME Related fucntions (and Printing formats)?

Matthew B. Steger | Sr. Software Engineer
T +1.847.871.1177 | M +1.630.254.2243

Genfare | 800 Arthur Ave | Elk Grove Village IL 60007

Genfare.com<https://www.genfare.com/> | LinkedIn<https://www.linkedin.com/company/genfare> | Customer Care<https://www.genfare.com/customer-care/>

The information contained in this electronic mail transmission is intended by SPX Corporation for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Year 2038 Issue
  2021-07-07 20:09 Year 2038 Issue Steger, Matthew
@ 2021-07-07 20:38 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2021-07-07 20:38 UTC (permalink / raw)
  To: Steger, Matthew; +Cc: gcc-help

On Wed, 7 Jul 2021, 21:10 Steger, Matthew via Gcc-help, <
gcc-help@gcc.gnu.org> wrote:

> What version (exactly) of GCC added the "time64_t" and all TIME Related
> functions (including Printing formats) allowed 64-bit time (to FIX the Year
> 2038 issue with "time_t")
>

Those functions are not part of GCC. They are provided by the C library,
not GCC.

If you are using Linux, your C library is probably glibc. It is a
completely separate project from GCC with its own releases.


> Also did *ANY* version of GCC support 32-bit UNSIGNED time (good until
> 2106) including all TIME Related fucntions (and Printing formats)?
>

GCC supports whatever the C library does.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-07 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 20:09 Year 2038 Issue Steger, Matthew
2021-07-07 20:38 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).