Re: [bug-gnulib] Re: lib/stdbool_.h doesn't honor HAVE__BOOL

2006-01-24 Thread Bruno Haible
Paul Eggert wrote on 2005-11-26: > Here is a proposed patch, > which I've installed into coreutils (but not gnulib). Thanks for the patch, and I'm sorry for the long delay in looking at it. Two points that I don't understand: > /* BeOS already #defines false 0, true 1. We use the same > - d

Re: [bug-gnulib] Re: lib/stdbool_.h doesn't honor HAVE__BOOL

2006-01-24 Thread Bruno Haible
Paul Eggert wrote on 2005-11-26: > Unfortunately that isn't enough to fix the stdbool module problems > we've been running into recently with coreutils. They include: > > Some HP-UX C compilers mishandle _Bool (internal compiler error), > independently of whether works. E.g., >

Re: [bug-gnulib] lib/stdbool_.h doesn't honor HAVE__BOOL

2006-01-24 Thread Bruno Haible
Albert Chin wrote: > The HP-UX 11.23/IA aCC6 compiler has bool and _Bool. This generates an > error building something that includes gnulib's auto-generated stdbool.h: > "../include/stdbool.h", line 84: error #2084: invalid combination of > type specifiers > typedef bool _Bool; >

Re: lib/stdbool_.h doesn't honor HAVE__BOOL

2005-11-27 Thread Paul Eggert
Albert Chin <[EMAIL PROTECTED]> writes: > On Fri, Nov 25, 2005 at 11:11:05PM -0800, Paul Eggert wrote: >> +#if defined __cplusplus || defined __BEOS__ >> typedef bool _Bool; >> +#else > > This will break on C++ compilers with bool _and_ _Bool, like the HP-UX > 11.23/IA-64 aCC6 compiler. I assume

Re: lib/stdbool_.h doesn't honor HAVE__BOOL

2005-11-26 Thread Albert Chin
On Fri, Nov 25, 2005 at 11:11:05PM -0800, Paul Eggert wrote: > +#if defined __cplusplus || defined __BEOS__ > typedef bool _Bool; > +#else This will break on C++ compilers with bool _and_ _Bool, like the HP-UX 11.23/IA-64 aCC6 compiler. -- albert chin ([EMAIL PROTECTED]) _

Re: lib/stdbool_.h doesn't honor HAVE__BOOL

2005-11-25 Thread Paul Eggert
Albert Chin <[EMAIL PROTECTED]> writes: > The HP-UX 11.23/IA aCC6 compiler has bool and _Bool. This generates an > error building something that includes gnulib's auto-generated stdbool.h: Unfortunately that isn't enough to fix the stdbool module problems we've been running into recently with cor

lib/stdbool_.h doesn't honor HAVE__BOOL

2005-11-25 Thread Albert Chin
The HP-UX 11.23/IA aCC6 compiler has bool and _Bool. This generates an error building something that includes gnulib's auto-generated stdbool.h: "../include/stdbool.h", line 84: error #2084: invalid combination of type specifiers typedef bool _Bool; ^ Patch below fixes thi