2008/7/14 Weddington, Eric <[EMAIL PROTECTED]>:
> A 24-bit integer is not supported by the C language. In theory, support
> could be added to GCC, but then it would be considered an extension to
> the C language. And it would also be difficult and/or time-consuming to
> add to GCC.

The C standard doesn't dictate the size of any integer type, except that char
must be large enough to hold the environments standard character set and
the size of any larger types is ordered as you'd expect.
char <= short <= int <= long
int is typically the natural word size for the architecture, but often on 8 bit
micros it will be larger (since char typically provides an 8 bit int anyway.)

Cheers,
Clint


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to