bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HP-UX 11.23 stdint failure (was: snapshot 3 in preparation for 1.4.1


From: Bruno Haible
Subject: Re: HP-UX 11.23 stdint failure (was: snapshot 3 in preparation for 1.4.13)
Date: Wed, 25 Feb 2009 13:06:02 +0100
User-agent: KMail/1.9.9

Gary V. Vaughan wrote:
> #define INT8_MAX       INT8_C(127)
> #define INT16_MAX      INT16_C(32767)
> #define INT32_MAX      INT32_C(2147483647)
> #define INT64_MAX INT64_C(9223372036854775807)
> 
> #define INT8_MIN  (-INT8_MAX - 1)
> #define INT16_MIN (-INT16_MAX - 1)
> #define INT32_MIN (-INT32_MAX - 1)
> #define INT64_MIN (-INT64_MAX - 1)

Hmm. Maybe the __CONCAT__ or __CONCAT_U__ macro is not defined. What is the
preprocessed output of this input?

==================== i.c ====================
l1 INT8_MIN
l2 INT8_MAX
l3 INT16_MIN
l4 INT16_MAX
l5 INT32_MIN
l6 INT32_MAX
l7 UINT8_MAX
l8 UINT16_MAX
l9 UINT32_MAX
=============================================
$ cc -AC99 i.c

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]