----- Original Message -----
From: Brad Figler <[EMAIL PROTECTED]>
Date: Monday, September 22, 2003 1:15 pm
Subject: Re: bool support in CW.
> Ben,
>
> The only thing I could find came from palmtypes.h
>
> // Include the following typedefs if types.h wasn't read.
> #if __DEFINE_TYPES_
> #ifdef __MWERKS__
> #if !__option(bool)
> #ifndef true
> #define true 1
> #endif
> #ifndef false
> #define false 0
> #endif
> #endif
> #else
> #ifndef __cplusplus
> #ifndef true
> enum {false, true};
> #endif
> #endif
> #endif
> #endif /* __TYPES__ */
>
> I imagine this works as expected.
How do you expect the above to work, exactly? The #defines or maybe the enum could be
causing the error/warning that sparked your question.
Layne
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/