home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20564 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.3 KB  |  26 lines

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