This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Strange CPP failures
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.