This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Really crummy error messages, was Re: Ada files now checked in
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: Really crummy error messages, was Re: Ada files now checked in
- From: Tim Hollebeek <tim at hollebeek dot com>
- Date: Mon, 8 Oct 2001 20:02:02 -0400
- Cc: Zack Weinberg <zack at codesourcery dot com>, Gabriel Dos Reis <gdr at codesourcery dot com>, dewar at gnat dot com, fw at deneb dot enyo dot de, bosch at gnat dot com, dnovillo at redhat dot com, gcc at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu
- References: <20011007173547.A15654@disaster.jaj.com> <20011008110903.E9432@codesourcery.com> <20011008163225.A18409@disaster.jaj.com>
- Reply-To: tim at hollebeek dot com
On Mon, Oct 08, 2001 at 04:32:25PM -0400, Phil Edwards wrote:
>
> > While we're bitching, I am sick of seeing
> >
> > test.c:1: (Each undeclared identifier is reported only once
> > test.c:1: for each function it appears in.)
> >
> > I think the error message is perfectly clear without that.
>
> I'd agree with this too. Maybe GCC should have a beginner's mode? :-)
how about --verbose-errors, and have both a one-line and paragraph
explanation of each error?
test.c:1: Message always goes here
test.c:1: (iff --verbose errors, extended explanation
test.c:1: more...
test.c:1: etc)
This way you can normally use the normal options, and stick in
--verbose-errors when you see a new message or one you don't
understand.
-Tim