Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!news From: roy@alanine.phri.nyu.edu (Roy Smith) Newsgroups: comp.sys.mac.programmer Subject: Lint for Think C Message-ID: <1990Aug5.195935.16500@phri.nyu.edu> Date: 5 Aug 90 19:59:35 GMT Sender: news@phri.nyu.edu (News System) Organization: Public Health Research Institute, New York City Lines: 14 I'm just starting to get into programming on the Mac. I'm using Think C. What I can't seem to figure out is how to debug programs, especially when it comes to tracking down pointer mistakes. For example, I just tracked down a bug resulting from my doing "GlobalToLocal (point)" instead of "GlobalToLocal (&point)". On a Unix system, lint would have caught something like that. Think C seems to do some sort of built in type checking with toolbox routines, but didn't catch this one. Any suggestions for how to find stuff like that? -- Roy Smith, Public Health Research Institute 455 First Avenue, New York, NY 10016 roy@alanine.phri.nyu.edu -OR- {att,cmcl2,rutgers,hombre}!phri!roy "Arcane? Did you say arcane? It wouldn't be Unix if it wasn't arcane!"