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


On Aug  9 18:59, Hans-Bernhard Bröker wrote:
> 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?

s/uint64_t/int64_t/
s/int64_t/__int64_t/

Otherwise, sure.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


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