[Top][All Lists]
[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.
From: |
Gary V. Vaughan |
Subject: |
Re: HP-UX 11.23 stdint failure (was: snapshot 3 in preparation for 1.4.13) |
Date: |
Thu, 26 Feb 2009 01:04:16 +0700 |
Hi Bruno,
2009/2/25 Bruno Haible <address@hidden>:
> 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 ====================
I added a:
#include <inttypes.h>
> 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
Trimming the system files fat leaves:
# 2 "i.c"
l1 (-(127) - 1)
l2 (127)
l3 (-(32767) - 1)
l4 (32767)
l5 (-2147483647l - 1)
l6 2147483647l
l7 255u
l8 65535u
l9 4294967295ul
Cheers,
Gary
--
Email me: address@hidden (\(\
Read my blog: http://blog.azazil.net ( o.O)
And my other blog: http://www.machaxor.net (uu )o
...and my book: http://sources.redhat.com/autobook ("("_)
- Re: AIX sysval failure, (continued)
HP-UX 11.31 strtod failure (was: snapshot 3 in preparation for 1.4.13), Eric Blake, 2009/02/24
HP-UX 11.23 stdint failure (was: snapshot 3 in preparation for 1.4.13), Eric Blake, 2009/02/24
Re: HP-UX 11.23 stdint failure, Eric Blake, 2009/02/25
HP-UX 10.20 format failure (was: snapshot 3 in preparation for 1.4.13), Eric Blake, 2009/02/24
Re: snapshot 3 in preparation for 1.4.13, Tom G. Christensen, 2009/02/24