Article View: gnu.gcc.help
Article #51263What does the gnu world use for lint?
From: Tony Silva
Date: Mon, 07 Jun 1993 16:03
Date: Mon, 07 Jun 1993 16:03
22 lines
1738 bytes
1738 bytes
Larry W. Virden <lwv26@cas.org> writes: > These suggestions are only true if you plan on compiling all the pieces of > your program together each time you do a compile . Many folk use libraries, > and thus find it extremely difficult to get good warnings about arguments > passed to various functions, etc. IMNSHO, the interface (i.e., arguments and return value) for EVERY library function should be completely defined in user-accessible header files. There even are utilities for automatically generating ANSI C prototypes. (I believe one is called "protoize".) I'm a big believer in edit- and compile-time (as opposed to run-time) checking, but by using the finer features of Emacs and GCC (like auto-indentation, s-expressions, and prototypes), I never need "lint" to generate code that's pretty clean before it's first executed. _______________________________________________________________________________ Tony Silva tel: (617)890-4200 Atlantic Aerospace Electronics Corp. FAX: (617)890-0224 470 Totten Pond Road Internet: tsilva@aaec.com Waltham, MA 02154
Technical Details
Message-ID:
<9306071545.AA10062@harpo>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!harpo.aaec.com!tsilvaReferences:
<1993Jun4.110115.8333@cas.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3a5fa441bd983d3 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-06-07 09:17:05 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!harpo.aaec.com!tsilva From: tsilva@harpo.aaec.com (Tony Silva) Newsgroups: gnu.gcc.help Subject: What does the gnu world use for lint? Date: 7 Jun 1993 12:03:41 -0400 Organization: GNUs Not Usenet Lines: 22 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9306071545.AA10062@harpo> References: <1993Jun4.110115.8333@cas.org>