This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Introduction and 64 bit time_t


Am 09.08.2017 um 17:51 schrieb Corinna Vinschen:

What about --enable-32bit-time_t or something like that?  By default
time_t should default to long on targets with sizeof(long)==8 and to
long long on targets with sizeof(long)==4.

Wouldn't it appear more elegant to just say:

	By default time_t should default to uint64_t.

or, if we want to be _really_ picky,

	By default time_t should default to uint_least64_t.

Or do we pretend C99 didn't happen?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]