[prog] c types confusion

Meredydd meredydd at everybuddy.com
Wed Mar 24 19:41:18 EST 2004


On Wednesday 24 March 2004 17:42, dominik.schramm at gmxpro.net wrote:
> A compiler can arbitrarily choose "reasonable" sizes for the internal
> representation of the basic data types, as long as "short int" and
> "int" are at least 16 bits long, "long" is at least 32 bits long
> and sizeof(short) <= sizeof(int) <= sizeof(long).

...and I stand corrected. In that case, all those itty bitty embedded 
compilers are technically breaking spec. Oh, well :^)

Meredydd


More information about the Programming mailing list