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.

Thanks,

Brad

BTW, the line of code could be optimized to
bool result = true;

Which does not give a warning about implicit conversions.





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

Reply via email to