home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11459 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!sun-barr!ames!sgi!quasar.wpd.sgi.com!davea
  3. From: davea@quasar.wpd.sgi.com (David B.Anderson)
  4. Subject: Re: cc errors
  5. Message-ID: <nqvu64k@sgi.sgi.com>
  6. Sender: davea@quasar.wpd.sgi.com
  7. Organization: Silicon Graphics, Inc.  Mountain View, CA
  8. Date: Mon, 27 Jul 1992 17:57:31 GMT
  9. Lines: 30
  10.  
  11. In article <1992Jul27.103035.26247@bernina.ethz.ch> hoesel@igc.ethz.ch (Frans van Hoesel) writes:
  12. >I don't like the lengthy error messages from the c-compiler.
  13. >They fill the screen
  14. >with lots of dashes even if one makes only a few mistakes. 
  15. >This behavior is *NOT* what is described in the ansi-c manual from sgi.
  16. >there is some page describing exactly what the format of the
  17. >error messages is. The format described there is not the format I get.
  18. >Any way to force this output format?
  19. >(this is still 4.0.1)
  20. >
  21. >-- frans
  22.  
  23. Sorry you don't like the messages.  While I do :-), it clearly would be
  24. desirable to give users control over verbosity.   Can't promise when
  25. that will happen.   I believe it will happen, though.
  26.  
  27. The dashes attempt to show exactly where the compiler thinks the error is.
  28. If there are lots of dashes then you have very long source lines (after
  29. preprocessing).    On really long lines the dashes are sometimes not
  30. helpful.   Tough for the compiler to know which are useful.
  31.  
  32. The present output of *multiple* messages on a single error inflates the
  33. output a lot.  This was never *desirable*, but did make compiler maintenance
  34. easier (for reasons I won't go into).
  35.  
  36. Thanks for the input.
  37.  
  38. Regards,
  39. [ David B. Anderson             (415)390-1548             davea@sgi.com ]
  40.  
  41.