Ah sorry,
didn't see that this was for examination purposes. Will readd it soon!
Matthias
Stefan (metze) Metzmacher wrote:
> Hi Matthias,
>>>> commit b028a6001ad7e440fbd71faa45cad8b5966fac1c
>> Author: Matthias Dieter Wallnöfer<mdw at samba.org>
>> Date: Sun Nov 28 12:28:03 2010 +0100
>>>> replace:wscript - change the "bool" checks to be compatible with more platforms
>>>> - If the type was found then we are fine and define "HAVE_BOOL"
>> - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
>> - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
>> - The length check for "bool" is not really useful and therefore removed
>>> That check is useful and I added a few weeks ago, please readd it.
>> It showed that sizeof(bool) is 1, that means that we might think about
> changing the fallback to define 'bool' as 'unsigned char' instead of 'int'.
>> metze
>>