Strange CPP failures

Neil Booth neil@daikokuya.co.uk
Tue Jul 16 15:00:00 GMT 2002


Joseph S. Myers wrote:-

> The work to use bool in GCC is Zack's, but I'd suppose the portability
> requirement on assignments to bool needs documenting in
> README.Portability.  I'd considered it obvious (no-one's suggested 
> allowing use of C99 features in GCC yet) that uses of bool in GCC need to 
> allow for it being either a "traditional" bool type (as in curses etc.) or 
> a C99 _Bool.

It's obvious now; it wasn't to me before!

OK.  I've been one of the heaviest users of bool.  I'll skip
through auditing the uses for such gotchas.

Neil.



More information about the Gcc-bugs mailing list