home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5214 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.2 KB

  1. Path: sparky!uunet!sun-barr!sh.wide!wnoc-tyo-news!rena!tdo!newsgate!usenet
  2. From: gregf@shaman.sps.mot.com (Greg Ferguson)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Lint for Next? (SUMMARY)
  5. Message-ID: <1992Jul24.032523.10457@newsgate.sps.mot.com>
  6. Date: 24 Jul 92 03:25:23 GMT
  7. Sender: usenet@newsgate.sps.mot.com
  8. Reply-To: gregf@shaman.sps.mot.com
  9. Organization: SPS
  10. Lines: 56
  11. Nntp-Posting-Host: 192.111.231.2
  12.  
  13. Well, it appears that a true lint doesn't exist. Here's the notes that've
  14. come in today. It's unanimous for "cc -Wall file.c", for better or worse.
  15.  
  16. Maybe release 3.0...
  17.  
  18. Thanks for the responses,
  19.  
  20. Greg Ferguson
  21. rtmd30@email.sps.mot.com
  22. gregf@shaman.sps.mot.com
  23.  
  24. -------[attachments follow]-----------
  25.  
  26. From uunet!CS.YALE.EDU!rochberg-david Thu Jul 23 11:46:31 1992
  27.  
  28. cc with the -Wall option is a fairly effective lint replacement.
  29.  
  30. Apologies if you've heard this already and are looking for the real
  31. thing.
  32.  
  33.                     -david
  34. -------------------------------------------------------
  35. From: Brian Glaeske <uunet!cs.uwp.edu!glaeske>
  36.  
  37. Compile your programs with the -Wall option.  GNU C does it's own checking.
  38.  
  39. Brian Glaeske
  40. -- 
  41.  -  /|                        glaeske@cs.uwp.edu          [Internet]
  42.   o.O`   --Ooop ACK!!         ..!uunet!plains!gehenna!brian     [NeXT UUCP]
  43. =(___)=
  44.    U    "Bill the Cat for Prez in '92"
  45. -------------------------------------------------------
  46.  
  47. From uunet!PSUVM.PSU.EDU!MKK2 Thu Jul 23 13:45:44 1992
  48.  
  49. Ah!  The monthly "Where's lint?" question.
  50.  
  51. I don't want to get into the argument---I am not expert in these matters.
  52. However, the usual answer is (a) use the -Wall option on the gnu C
  53. compiler, it does most of what lint does, and (b) if you are porting software
  54. to another platform (which is what lint helps with above and beyone -Wall)
  55. then use the lint on the other platform.
  56.  
  57. cheers
  58. -------------------------------------------------------
  59.  
  60. From: N Tomczak-Jaegermann <uunet!vega.math.ualberta.ca!ntomczak>
  61.  
  62. Try first -Wall flat to your compiler and study docs for other
  63. -W... flags which are not covered by -Wall.   This has both
  64. advantages and disadvantages over lint, but this is all what
  65. you are going to get, I am afraid.  At least as far as I know.
  66.  
  67.    Michal Jaegermann
  68.    ntomczak@vega.math.ualberta.ca
  69.