format string linting?
Tim McDaniel
mcdaniel at adi.com
Tue Jan 29 05:18:48 AEST 1991
mikeg at 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 at adi.com UUCP: {uunet,sharkey}!amara!mcdaniel
More information about the Comp.lang.c
mailing list