I've just written the following code:

Int32 value = 1 << 16;

Compiling with gcc and PRC-Tools, sdk5-r3, I get the following warning:

warning: left shift count >= width of type

Shifting left by 15 doesn't generate the warning.  Anybody have a clue
about what's going wrong, here?

Trevor Powell

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

Reply via email to