[SCM] Samba Shared Repository - branch master updated
Stefan (metze) Metzmacher
metze at samba.org
Sun Nov 28 06:25:40 MST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101128/44591baa/attachment.pgp>
More information about the samba-technical
mailing list