Path: utzoo!attcan!uunet!husc6!bbn!gatech!rebel!didsgn!root From: root@didsgn.UUCP (didsgn) Newsgroups: comp.lang.c Subject: Re: GNU Lint??? (or an ANSI lint..) Message-ID: <444@didsgn.UUCP> Date: 27 Sep 88 09:22:51 GMT References: <14715@agate.BERKELEY.EDU> Organization: Digital Design Inc., Norcross GA Lines: 17 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