This is the mail archive of the cygwin mailing list for the Cygwin 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: long_int vs int byte sizes


On Apr  8 11:41, Ross Smith wrote:
> On 2014-04-08 03:51, Corinna Vinschen wrote:
> >On Apr  7 09:39, Eric Blake wrote:
> >>
> >>C99 5.2.4.2.1 Sizes of integer types <limits.h>
> >>
> >>requires CHAR_BIT to be 8 or larger, UCHAR_MAX to be 255 or larger,
> >>USHRT_MAX to be 65535 or larger (oh, so I was wrong above; 8-bit short
> >>is not allowed), UINT_MAX to be 65535 or larger, ULONG_MAX to be
> >>4294967295 or larger, and ULLONG_MAX to be 18446744073709551615 or larger.
> >
> >C99 actually requires that?  Wow.  Modern times...
> 
> It was already required in C89; the only change in C99 was the
> addition of long long.

C89 actually requires that?  Wow.  Modern times...


;)
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpAkrrD0WHen.pgp
Description: PGP signature


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