Introduction and 64 bit time_t

Corinna Vinschen vinschen@redhat.com
Wed Aug 9 19:25:00 GMT 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170809/14e400f9/attachment.sig>


More information about the Newlib mailing list