c60c-4au@web-4d.berkeley.edu (Erik Talvola) (09/27/88)
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... -- Erik Talvola | "The soul I took from you c60c-4au@web.berkeley.edu | was not even missed..." erikt@zen.berkeley.edu (currently down...) | Black Sabbath
root@didsgn.UUCP (didsgn) (09/27/88)
in article <14715@agate.BERKELEY.EDU>, c60c-4au@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>