home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18173 < prev    next >
Encoding:
Internet Message Format  |  1992-12-20  |  1.4 KB

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