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 this. Of course the 11.23/IA C compiler has a c99 mode. Should I juse use 'c99' instead? -- albert chin ([EMAIL PROTECTED]) -- snip snip 2005-11-23 Albert Chin-A-Young <[EMAIL PROTECTED]> lib/stdbool_.h: Don't define _Bool if compiler has both bool and _Bool. Index: lib/stdbool_.h =================================================================== RCS file: /cvsroot/gnulib/gnulib/lib/stdbool_.h,v retrieving revision 1.6 diff -u -3 -p -r1.6 stdbool_.h --- lib/stdbool_.h 14 May 2005 06:03:58 -0000 1.6 +++ lib/stdbool_.h 25 Nov 2005 21:14:57 -0000 @@ -81,7 +81,9 @@ typedef enum { _Bool_must_promote_to_int # endif # endif #else +#if [EMAIL PROTECTED]@ typedef bool _Bool; +#endif #endif #define bool _Bool _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib