Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!eos!aio!deltahp!dbm From: dbm@deltahp.nasa.gov (Brad Mears) Newsgroups: comp.lang.c Subject: ANSI C & lint - why & how Keywords: ANSI GNU lint Message-ID: <1991Apr15.154244.5534@aio.jsc.nasa.gov> Date: 15 Apr 91 15:42:44 GMT Sender: dbm@gothamcity.jsc.nasa.gov (Brad Mears) Organization: Barrios Technology @ NASA/JSC; Houston Lines: 18 I am writing (hopefully) ANSI compliant C using GNU C on a Sparc. Will lint do anything for me that "gcc -ansi -pedantic -Wall" will not? If it will, how do I use it? The standard system lint complains mightily, even when I use the ansi library (-lansic). The code in question is an X11R4 application. Will I need to tell lint anything about the X libraries? I will appreciate any opinions and/or facts you have to offer. -- Brad Mears dbm@deltahp.jsc.nasa.gov ---------------------------------------------------------------------------- Opinions are expressly forbidden. | Definition of impiety : I speak for myself and no other. |"Noun, your irreverence toward my diety." | - Ambrose Bierce ----------------------------------------------------------------------------