Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!yale!cs.utexas.edu!sdd.hp.com!decwrl!shelby!riacs!julian From: julian@riacs.edu (Julian E Gomez) Newsgroups: comp.sys.mac.programmer Subject: Re: Think C 4.01 bugs Message-ID: <1990Jul23.042958.22018@riacs.edu> Date: 23 Jul 90 04:29:58 GMT Organization: RIACS, NASA Ames Research Center Lines: 22 In article <570@ohs.UUCP> bhil@ohs.UUCP (Brian T. Hill) writes: " From article <455@6sceng.UUCP>, by blm@6sceng.UUCP (Brian Matthews): " " In the THINK C User's manual, page 440, section 7.4.8 of the Language " reference, it says: " "In THINK C, the type that sizeof returns is int, not size_t." " The reason for this, IMHO, is to allow you to say: " "NewHandle(sizeof(int))" " where NewHandle() expects an int. No go. NewHandle takes a long. See pages II-32 and II-46. " "Many new language features in this release make THINK C more compatible " with the ANSI C standard. Although THINK C is close to the standard, it " is not conformant as defined in the standard. The remaining issues either " are of little significance or would require fundamental changes to THINK C. ^^^^^^^^^^^^^^^^^^^^^^^^^^ In Symantec's opinion. -- "We must grasp the bull by the tail, and look the matter squarely in the face!" Julian "a tribble took it" Gomez julian@riacs.edu