[sldev] BOOL patch, and test results.

Callum Lerwick seg at haxxed.com
Thu May 17 22:38:13 PDT 2007


On Wed, 2007-05-16 at 21:30 -0400, Alan Grimes wrote:
> >> Note 3: All instances of BOOL should be replaced with bool in all
> >> functions, methods, and global data objects without hesitation or delay.

> Changes:
> 
> - TRUE and FALSE have been removed and replaced with true and false as
> per "The C++ Programming Language" by Bjarne Stroustrup
> 
> - Many usages of BOOL have been removed. (About half the work remains)
> 
> - Duplicate code has been removed, there were at least two instances of
> trivial methods being implemented once for bool and again for BOOL.
> 
> - Declaration/implementation conflicts have been fixed. The compiler was
> accepting conflicts between S32 declarations and BOOL implementations
> because they were the same type. These have been fixed in this release.

I would like to know what happens if you just typedef BOOL to an S8. Are
BOOLs used in structures or arrays anywhere? It might reduce RAM usage
but at the same time could throw off alignment as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070518/abe80aea/attachment.pgp


More information about the SLDev mailing list