This is the mail archive of the
mailing list for the GCC project.
Re: libbanshee also using a broken AC_HEADER_STDBOOL
email@example.com (Andreas Schwab) wrote on 01.06.04 in <firstname.lastname@example.org>:
> Zack Weinberg <email@example.com> writes:
> > Better, I think, to make libiberty.h unconditionally
> > #define bool unsigned char
> > #define true 1
> > #define false 0
> Except that the use of bool, true, false should probably be avoided then.
> The standard says that the ability to redefine them is an obsolescent
Just so this isn't forgotten when whatever replacement is decided on,
Objective C uses BOOL/YES/NO for this, so you may want to avoid those as
well - though it's certainly less important.