This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Improving C++ error output?
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Randy.Dunlap" <rddunlap at osdl dot org>
- Cc: Craig Rodrigues <rodrigc at attbi dot com>, <gcc at gcc dot gnu dot org>
- Date: 22 Dec 2002 19:18:14 +0100
- Subject: Re: Improving C++ error output?
- Organization: Integrable Solutions
- References: <Pine.LNX.4.33L2.0212202030020.4761-100000@dragon.pdx.osdl.net>
"Randy.Dunlap" <rddunlap@osdl.org> writes:
| On 21 Dec 2002, Gabriel Dos Reis wrote:
|
| | 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.
|
| Yes, I know that (at least the first 3 of those).
| And it's pretty good at using them -- but not all of the time,
| unless I'm just suffering from using gcc 2.96 instead of
| gcc 3.x. Can someone tell me if that's the case?
GCC-2.96 only has the "warning: " prefix.
-- Gaby