bug-gnulib
[Top][All Lists]
Advanced

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

Re: AIX 4.3.3 IBM C compiler patch for m4-1.4.8


From: Eric Blake
Subject: Re: AIX 4.3.3 IBM C compiler patch for m4-1.4.8
Date: Sun, 04 Feb 2007 07:52:08 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

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

According to Albert Chin on 2/4/2007 7:47 AM:
> The IBM C compiler on  AIX 4.3.3 (v6) doesn't like signed bit types:
>   gmake[1]: Entering directory `/opt/build/m4-1.4.8/src'
>   xlc    -I../lib -I../lib   -O2 -qro -qroconst -qmaxmem=-1 -qarch=com -c m4.c
>   "m4.h", line 383.3: 1506-009 (S) Bit-field gnu_extension must be of type 
> signed int, unsigned int or int.
>   "m4.h", line 384.3: 1506-009 (S) Bit-field groks_macro_args must be of type 
> signed int, unsigned int or int.
>   "m4.h", line 385.3: 1506-009 (S) Bit-field blind_if_no_args must be of type 
> signed int, unsigned int or int.
>   gmake[1]: *** [m4.o] Error 1
> 
> Patch attached.

> -  bool traced : 1;
> +  unsigned int traced : 1;

Thanks for the report.  However, I would tend to think that this is a bug
in the gnulib stdbool module.  Is ./configure detecting that the AIX bool
is sufficient, or is it using the gnulib replacement?  If it is getting
the AIX bool, then the gnulib check should be enhanced to check that bool
can be used for bitfields.  If it is getting the gnulib bool, then we
should figure out how to make the gnulib bool pick a type that will work
for this usage pattern.

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

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

iD8DBQFFxfMY84KuGfSFAYARAjNrAKCWxzvlSdrlk13Y8GN3AJrfSXDHqwCfT2eJ
+NkEl/Yqudm1WhaWTfwvd8A=
=g0Kq
-----END PGP SIGNATURE-----




reply via email to

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