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


From: Eric Blake
Subject: Re: HP-UX 11.23 stdint failure
Date: Wed, 25 Feb 2009 06:03:53 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Gary V. Vaughan on 2/24/2009 11:23 PM:
> 
>>From inttypes.h (which is included by stdint.h):
> 
> #define INT8_C(__c)                      (__c)
> #define UINT8_C(__c)                     __CONCAT_U__(__c)

That should be flagged as a bug, even if __CONCAT_U__ is declared.  Why?
Because uint8_t promotes to int, not unsigned int.

> 
> #define INT16_C(__c)                     (__c)
> #define UINT16_C(__c)                    __CONCAT_U__(__c)

Likewise (unless int is 16 bits).

> 
> Not sure where to go from here though :(

The .m4 test needs to be beefed up to detect that the platform's stdint.h
is buggy.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmlQbkACgkQ84KuGfSFAYA72gCgpXhrlLpR8x8Js4xSkjK/ZKFL
kj8AnAimg7TLcbn3OLhh1D23k0DQxPfW
=GJ7S
-----END PGP SIGNATURE-----




reply via email to

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