libbanshee also using a broken AC_HEADER_STDBOOL

Andreas Schwab schwab@suse.de
Wed Jun 2 19:32:00 GMT 2004


Zack Weinberg <zack@codesourcery.com> writes:

> Andreas Schwab <schwab@suse.de> writes:
>
>> 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.
>
> The C standard says no such thing.

Future library directions, 7.26.7.

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."



More information about the Gcc-patches mailing list