>I am looking for a Lint utility that can be used on Palm application sources from Windows 95 or NT. >I have seen some comments in the Address Book and other sample applications >like >// lint: xxxx >so I am guessing there is a reasonable way to check code using Lint. Palm has used PC Lint (www.gimpel.com) for each OS version starting with 3.0. Mostly as a one time pass. The goals are to 1) find bugs, 2) make the code more consistent and 3) simplify the code. It found enough bugs to be worthwhile. Pose though already does a great job finding bugs. It just costs a bit more (time) than a static checker like lint. It also caught a number of inconsistencies between functions and headers, as well as a number of unreferenced #defines. The tool isn't flawless, but it's useful enough to one once before each release. The good news in the end is that the API is better. Many wierd things have been cleaned up. Developers should be able to use PC Lint without any warnings from Palm OS headers. If you have problems with our headers and PC Lint, or other tools, like gcc, let me know so maybe they can get changed. If folks want our configuration of options, especially the funtional mimicry settings, ask. I think I posted them a long time ago, but I can send them again. -Roger Flores -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
