Re: Integer size (fwd)


Subject: Re: Integer size (fwd)
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Tue Jun 06 2000 - 02:09:07 CDT


According to Aaron Lehmann <aaronl@vitelus.com>:
> Back when I used to program on the mac, the default integer size was 16
> bits. Just FYI. I think it would be smart to use the UT_*32 macros when
> you really want a 32 bit int.

Yes and no. On 68k it was supposed to be 16 bits by default, but both
Symantec and CodeWarrior was giving the option to use 32 bits ints.

BTW, the C standard does NOT define the range of an int, so this must not be
assumed. Same for short and long AFAIK. The best is to use C standardized
types.

Hub



This archive was generated by hypermail 2b25 : Tue Jun 06 2000 - 02:08:34 CDT