GNU Lint??? (or an ANSI lint..)

didsgn root at didsgn.UUCP
Tue Sep 27 19:22:51 AEST 1988


in article <14715 at agate.BERKELEY.EDU>, c60c-4au at web-4d.berkeley.edu (Erik Talvola) says:
> 
> 
> Does anyone know of a lint program for Unix that recognizes ANSI C?
> I have switched over to using gcc (GNU C) for my programming, and since
> it is an ANSI-C compiler, I have been using things like function
> prototyping, which the regular lint bombs on.  So, does GNU have a version
> of lint that works with gcc, or is there otherwise an ANSI-C Lint available?
> Many thanks in advance...

You might want to use the -Wall option of GNU C. It will sort of 'lint' your
C source file.
Refer to the GNU C user manual.

Jean-Luc Chatelain
...!gatech!didsgn!{root,jlc}
#include <standard.disclaimer.h>



More information about the Comp.lang.c mailing list