>Subject: Re: Compile warning using PRC tools: "shift count >= width of type"
>From: Max Bian <[EMAIL PROTECTED]>
>Date: Sun, 20 Jan 2002 18:42:10 -0800 (PST)
>
>This is interesting. I wondered why I didn't got kicked by writting
>stuff like this in the early days. I went back and checked.
>The reason was on Sun Sparc machines I used, the int is by
>default the same as long int.
>
>I am not sure if there is special platform reason on the choice of int size,
>but that's truely a good choice! This is probably not good for Palm. One
>simple reason can be waste of memory.
>
'int' by definition is the most efficient storage size so it varies!
Normally 'long' >= 'int' >= 'short', but I don't think that's
even mandatory.
Roger Stringer
Marietta Systems, Inc,
Roger Stringer
Marietta Systems, Inc., PO Box 71506, Marietta, Georgia 30007
Phone: (770) 565-1560 FAX: (770) 565-4421
"RF-TP" and "Marietta PDE" are the trademarks of Marietta Systems, Inc.
Visit our web site for company and product information:
http://www.MariettaSystems.com
==================================
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/