Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!eplrx7!leipold From: leipold@eplrx7.uucp (Walt Leipold) Newsgroups: comp.sys.mac.programmer Subject: Think C, MacHeaders, and 'Require prototypes'? Message-ID: <1991Jan4.212725.13050@eplrx7.uucp> Date: 4 Jan 91 21:27:25 GMT Sender: usenet@ee.udel.edu Organization: DuPont Engineering Physics Lab Lines: 16 Nntp-Posting-Host: louie.udel.edu I've run into a problem with Think C 4. When using the 'require prototypes' flag, I found some functions (e.g., GetItemMark, SetItemMark, ParamText, ...) whose arguments did not get coerced properly. Digging a little deeper, I found that these functions had no prototypes in *any* of the .h files in the "Mac #includes" folder. However, the compiler didn't complain about missing prototypes, so the precompiled MacHeaders must know something about these functions. Is MacHeaders more than the sum of its parts? Or is there some set of functions for which the compiler ignores the 'require prototypes' flag? -------------------------------------------------------------------------- "When dealing with the insane, Walt Leipold it is best to pretend to be sane." (leipolw%esvax@dupont.com) -------------------------------------------------------------------------- -- The UUCP Mailer