32 bit time_t

Eric S. Raymond esr at thyrsus.com
Tue Apr 18 22:33:39 UTC 2017


Hal Murray <hmurray at megapathdsl.net>:
> 
> gem at rellim.com said:
> >> Is there any reason not to put it in now as a warning?
> > if (4 >=3D sizeof(time_t)) puts("WARNING your system will fail in 2038."); 
> 
> I was thinking of a build time warning.  Your run time suggestion seems good 
> too.
> 
> I think we need a better text.  Maybe a URL for a page with the long story.

I'm writing a build-time check now.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.



More information about the devel mailing list