Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!umich!sharkey!rjf001!amara!mcdaniel From: mcdaniel@adi.com (Tim McDaniel) Newsgroups: comp.lang.c Subject: Re: format string linting? Summary: FlexeLint, PC-lint Keywords: FlexeLint, PC-lint Message-ID: Date: 28 Jan 91 18:18:48 GMT References: Sender: news@adi.COM Distribution: comp Organization: Applied Dynamics International, Inc.; Ann Arbor, Michigan, USA Lines: 30 In-reply-to: mikeg@c3.c3.lanl.gov's message of 25 Jan 91 19:06:42 GMT mikeg@c3.c3.lanl.gov (Michael P. Gerlek) writes: Does anyone have a hack that will "lint" my format strings for printf, scanf, and the like? Contact Gimpel Software 3207 Hogarth Lane Collegeville, PA 19426 Voice: +1 215 584 4261 Fax: +1 215 584 4266 FlexeLint is *not* a hack at all. It's an ANSI-compatable lint, and also works for old K&R code. It does printf/scanf conversion checking, among many other things. *Each of the 300-odd messages can be individually suppressed*, on a message-number basis (and a symbol name or file name basis where appropriate); messages can be turned off and on in code, via comments. That alone is worth the price, even without all the good checking! PC-lint is their PC version. With my personalized lint option file, it's so easy and useful that I lint as often as I compile (and often before). It has saved me quite a bit of trouble. Disclaimer: I have never had a financial interest in Gimpel Software. I am merely a very satisfied customer. -- Tim McDaniel Applied Dynamics Int'l.; Ann Arbor, Michigan, USA Work phone: +1 313 973 1300 Home phone: +1 313 677 4386 Internet: mcdaniel@adi.com UUCP: {uunet,sharkey}!amara!mcdaniel