Re: [PATCH] stdbool: avoid rejecting clang

2010-12-19 Thread Bruno Haible
Paul Eggert wrote on 2010-08-24, in : > the C standard > says that "&s" is a valid static initializer, but I suppose > one could argue that there's an implicit conversion to bool that would > clearly be invalid if one made it expli

Re: [PATCH] stdbool: avoid rejecting clang

2010-08-24 Thread Ralf Wildenhues
* Paul Eggert wrote on Tue, Aug 24, 2010 at 11:19:18PM CEST: > On 08/24/2010 01:25 PM, Ralf Wildenhues wrote: > > > configure:3108: checking for stdbool.h that conforms to C99 > > configure:3193: cc -qlanglvl=extc89 -c -g conftest.c>&5 > > "conftest.c", line 46.16: 1506-196 (W) Initialization bet

Re: [PATCH] stdbool: avoid rejecting clang

2010-08-24 Thread Paul Eggert
On 08/24/2010 01:25 PM, Ralf Wildenhues wrote: > the current git Autoconf AC_HEADER_STDBOOL test still provokes a > failure: > > configure:3108: checking for stdbool.h that conforms to C99 > configure:3193: cc -qlanglvl=extc89 -c -g conftest.c>&5 > "conftest.c", line 46.16: 1506-196 (W) Initiali

Re: [PATCH] stdbool: avoid rejecting clang

2010-08-24 Thread Ralf Wildenhues
* Eric Blake wrote on Tue, Aug 24, 2010 at 01:17:38AM CEST: > * m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf. > * tests/test-stdbool.c: Enable more tests if using the system > instead of the gnulib replacement. > (main): Move xlc bug test to a runtime test for all compilers. > Reported

[PATCH] stdbool: avoid rejecting clang

2010-08-23 Thread Eric Blake
* m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf. * tests/test-stdbool.c: Enable more tests if using the system instead of the gnulib replacement. (main): Move xlc bug test to a runtime test for all compilers. Reported by Anders Kaseorg. Signed-off-by: Eric Blake --- Here's the gnulib