home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!think.com!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!alexia!cole
- From: cole@alexia.lis.uiuc.edu (Sandra Stewart-Cole)
- Subject: Re: Sozobon C - a free C for the Mac, too?
- References: <29848@castle.ed.ac.uk> <3917@isgtec.isgtec.com>
- Message-ID: <C0AKGC.IsJ@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Sun, 3 Jan 1993 18:52:59 GMT
- Lines: 14
-
- In <3917@isgtec.isgtec.com> ken@isgtec.com (Ken Newman) writes:
-
- >Gag! Think C uses 16-bit ints?! Is there no option for 32-bit ints?
- >Wow, I thought Think C was a major full-featured compiler. This label
- >doesn't apply to 16-bit int compilers. :) I still like Laser C on the
- >ST, but would like to have a switch for 32-bit ints. (I have gcc as
- >well, if I need 32-bit).
-
- The Mac int standard is 16-bit ints and 32-bit longs. If you need to declare an
- int and get 32 bits, Think C has a switch for that, but it should not ever be
- needed on the Mac specificly. I'm not really sure why anyone would ever need
- that unles one is porting in code from a system that always uses 32-bit ints,
- since on the Mac you have a standard long of 32 bits.(plus a tangle of double
- extended and SANE formats for even longer numbers)
-