🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50732

Re: lint

#50732
From: D. Erway
Date: Mon, 16 Aug 1993 22:55
17 lines
1047 bytes
It is indeed silly to try to use lint in an ANSI C environment. Instead, turn
on gcc's warnings, and then eliminate them all.

You should look in the warnings section of the gcc info pages. You probably
want:

to catch most everything:
	-Wall

to make sure all functions are prototyped, and prototyped in .h files:
	-Wstrict-prototypes -Wmissing-prototypes

There are a bunch of other warnings you can turn on and off.


	-Don
Technical Details
Message-ID: <24p38aINNpqf@gap.caltech.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!derway
References: <5914@moscom.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2c2465a3279aebf
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-08-16 16:15:46 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!derway
From: derway@cco.caltech.edu (D. Erway)
Newsgroups: gnu.gcc.help
Subject: Re: lint
Date: 16 Aug 1993 22:55:06 GMT
Organization: California Institute of Technology, Pasadena
Lines: 17
Message-ID: <24p38aINNpqf@gap.caltech.edu>
References: <5914@moscom.com>
NNTP-Posting-Host: alumni.caltech.edu