At 06:55 PM 9/23/2003, Layne Lund wrote:
----- 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

If you are using a precompiled header like "PalmOS_Header", it will save the defines using the environment in which it was compiled, not the local environment. The PCH is built by the CW BuildHeaders.mcp project in a C environment where __option(bool) would not be set. Try adding


#undef true
#undef false

to your common header file or source file, and I bet things will work correctly.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to