Lint woes

Guy Harris guy at auspex.auspex.com
Mon May 27 05:03:21 AEST 1991


>>Most, if not all, "lint"s are basically modified versions of C
>>compilers, and most, if not all, haven't been sufficiently modified that
>>they can catch that problem.
>
>Most, if not all, are hardly being modified at all, any more.

Definitely not all; System V Release 4 includes a new "lint" that
allegedly handles ANSI C and has a bunch of other new stuff in it
(including checks of the format string of "printf"-like routines against
the argument list - i.e., they finally got around to implementing
/*PRINTFLIKE*/ - as well as similar checks for "scanf"-like routines
*and* a /*LINTED*/ construct that can help you shut "lint" up about some
things - as I remember, it accepts something like /*TRUSTME*/ or some
other amusing keyword as a synonym for /*LINTED*/).



More information about the Comp.unix.programmer mailing list