This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Changes the default size of time_t to 64 bit.
----- Am 14. Aug 2017 um 10:17 schrieb Corinna Vinschen vinschen@redhat.com:
[...]
> I don't know for other systems. But the point is, by changing to
> 64 bit time_t we break backward compat for all systems with 32 bit long
> anyway. However, the --enable-32bit_time_t option should use 'long'
> in the first place.
What about --enable-long-time_t with enough words in the documentation to explain this properly?
Defines time_t to long. On platforms with a 32-bit long type this gives raise to the year 2038 problem. This option is not the default. The default type for time_t is a signed 64-bit integer.