This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Improving C++ error output?
On Sat, Dec 21, 2002 at 04:16:29AM +0100, Gabriel Dos Reis wrote:
> GCC has prefixes:
>
> "error: " for hard errors;
> "warning: " for warnings;
> "internal compiler error: " for fatal errors;
> "note: " for informational diagnostics.
Maybe I'm failing to understand something, but
these prefixes do not seem to be consistently used.
g++ -v
gcc version 3.2.1 [FreeBSD] 20021119 (release)
#include <stdio.h>
int
main(int argc, char *argv)
{
printf("%d\n", );
}
a.cpp: In function `int main(int, char*)':
a.cpp:6: syntax error before `)' token
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@attbi.com