ANSI C & lint - why & how

Brad Mears dbm at deltahp.nasa.gov
Tue Apr 16 01:42:44 AEST 1991


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 at 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
----------------------------------------------------------------------------



More information about the Comp.lang.c mailing list