home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!news.cs.bham.ac.uk!bham!pickerig
- From: pickerig@eee.bham.ac.uk (Guy Pickering)
- Newsgroups: comp.lang.c++
- Subject: Re: Is there a lint++?
- Message-ID: <1gs98eINN7ba@rs6000.bham.ac.uk>
- Date: 18 Dec 92 10:30:38 GMT
- References: <BzF61B.291@ucunix.san.uc.edu>
- Organization: The University of Birmingham, England
- Lines: 25
- NNTP-Posting-Host: nanda_devi.eee.bham.ac.uk
- X-Newsreader: TIN [version 1.1 PL6]
-
- Allen M. Theobald (theobald@ucunix.san.uc.edu) wrote:
- :
- : Fellow Netters!
- :
- : This may seem peculiar, but is there such a thing as lint++ to
- : check C++ code? Or does lint have a switch to do the same?
- :
-
- lint is a tool to highlight problems in C code. It was designed to
- suppliment pre-ANSI C compilers, because they would quite happily
- pass bad code (mainly in the area of parameter mis-matches).
-
- Your C++ compiler should not need lint. lint (as far as I know)
- offers nothing your C++ compiler will provide. Anything that is not
- caught at compile time will be caught at link time bacause of
- type safe linkage.
-
- Guy
-
- --
- +--------------------------------+-----------------------------------------+
- | Guy Pickering | School of Electronic & Electrical Eng, |
- | E-MAIL: G.PICKERING@uk.ac.bham | University of Birmingham, |
- | Tel: (021) 414 4340 | Edgbaston, Birmingham. B15 2TT. |
- +--------------------------------+-----------------------------------------+
-