This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improving C++ error output?


Craig Rodrigues <rodrigc@attbi.com> writes:

| A few years ago, I worked a lot with the IBM AIX C++ compiler
| which had a nice convention for error messages.  Each
| line would contain either: (S), (I), or (W), where I believe that:
| (S) was for fatal errors
| (W) was for non-fatal warning messages
| (I) was for informational messages.

GCC has prefixes:

  "error: " for hard errors;
  "warning: " for warnings;
  "internal compiler error: " for fatal errors;
  "note: " for informational diagnostics.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]