This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libbanshee also using a broken AC_HEADER_STDBOOL
Zack Weinberg <zack@codesourcery.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
feature.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."