[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdbool.h test v. Compaq C on Tru64
From: |
Steven M. Schweda |
Subject: |
Re: stdbool.h test v. Compaq C on Tru64 |
Date: |
Mon, 22 Oct 2007 22:55:48 -0500 (CDT) |
> From: Paul Eggert <address@hidden>
>
> > I installed the following patch to gnulib. Basically it removes the
> > "line 104" mentioned above. Can you please verify that it fixes your
> > problem? Thanks.
> > [...]
>
> That seems to satisfy it. Thanks.
On the bright side, Sun's Studio 11 C compiler with no extra options
has a different complaint, but a similar outcome:
sol# uname -a
SunOS sol 5.10 Generic_120011-14 sun4u sparc SUNW,Ultra-60 Solaris
sol# cc -V
cc: Sun C 5.8 2005/10/13
config.log:
[...]
configure:8213: checking for stdbool.h that conforms to C99
configure:8306: cc -c -g conftest.c >&5
"/usr/include/stdbool.h", line 42: #error: "Use of <stdbool.h> is valid
only in a c99 compilation environment."
cc: acomp failed for conftest.c
[...]
And then:
[...]
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/
local/share/locale\" -I. -I../lib -g -c cmpt.c
"../lib/stdbool.h", line 104: syntax error before or at: 0
"cmpt.c", line 129: cannot recover from previous errors
cc: acomp failed for cmpt.c
[...]
I assume that adding a "-xc99" to cc would work, but the the revised
gnulib stdbool.h solves this one, too.
SMS.