Can lint help an ANSI-C programmer?
cspw quagga
cspw.quagga at p0.f4.n494.z5.fidonet.org
Sat May 26 13:03:32 AEST 1990
I'm after some advice on lint: I don't use it, and want to know whether
I should.
1. Is it ANSI C compatible? (Or are there many dialects of lint?
Would a Xenix lint be the same as most others?)
2. I program C the 'new' way - full prototypes, casts, standard ANSI.
I enable all compiler warnings and port the sources to a couple of
system, including VAX C, Turbo C, Helios (transputer) C and TopSpeed C.
Is lint likely to discover anything new or give useful advice after this
gauntlet? Are there still things that lint can discover (by looking at all
modules simultaneously) that a C compiler cannot discover when modules are
compiled independantly?
3. Was the intention that ANSI C with prototypes/casts etc. would remove the
need for external checkers like lint? Can we expect to see the demise of
lint in the next few years?
Thanks
Pete Wentworth
--
uucp: uunet!m2xenix!puddle!5!494!4.0!cspw.quagga
Internet: cspw.quagga at p0.f4.n494.z5.fidonet.org
More information about the Comp.lang.c
mailing list