At 12:12 AM 9/20/2003, Brad Figler wrote:
How come I get an implicit arithmetic conversion warning from 'int' to 'bool' for the followoing line of code?

bool result = ( 1 == 1 ) ? true:false;

I have bool support enabled in the preferences panel.

Verify that you aren't using a header file that #define's "true" and "false" to integer values.


--
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