incorrect enum warning?
Stefan Farfeleder
stefan at fafoe.dyndns.org
Thu May 1 08:43:12 PDT 2003
On Thu, May 01, 2003 at 10:24:32AM -0500, Jacques A. Vidrine wrote:
> On Thu, May 01, 2003 at 05:20:22PM +0200, Stefan Farfeleder wrote:
> > Because 0x80000000 > INT_MAX on 32-Bit architectures, 0x80000000 has
>
> You forgot to quote where INT_MAX is defined in the standard.
5.2.4.2.1 Sizes of integer types <limits.h>
-- maximum value for an object of type int
INT_MAX +32767 // 2^15 - 1
[where 32767 is the smallest legal value for INT_MAX]
Regards,
Stefan Farfeleder
More information about the freebsd-hackers
mailing list