public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Fergus Henderson <fjh@cs.mu.oz.au>
Cc: Tim Hollebeek <tim@hollebeek.com>, gcc@gcc.gnu.org
Subject: Re: Really crummy error messages, was Re: Ada files now checked in
Date: Wed, 10 Oct 2001 02:25:00 -0000	[thread overview]
Message-ID: <87g08rn7y4.fsf@deneb.enyo.de> (raw)
In-Reply-To: <20011010163133.B5189@hg.cs.mu.oz.au>

Fergus Henderson <fjh@cs.mu.oz.au> writes:

>> > > test.c:1: (Each undeclared identifier is reported only once
>> > > test.c:1: for each function it appears in.)

>> how about --verbose-errors, and have both a one-line and paragraph
>> explanation of each error?

> We've used almost exactly that approach in the Mercury compiler,
> and IMHO it works reasonably well.

The Ada compiler writes "(more references follow)" if the same
undeclared identifier is referenced multiple times.  Such an error
message is probably most helpful in this context, but I don't know if
you can implement it for the C compiler easily.

  reply	other threads:[~2001-10-10  2:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-07 14:34 Phil Edwards
2001-10-07 23:01 ` Really crummy error messages Florian Weimer
2001-10-08 11:09 ` Really crummy error messages, was Re: Ada files now checked in Zack Weinberg
2001-10-08 13:31   ` Phil Edwards
2001-10-08 16:49     ` Tim Hollebeek
2001-10-09 23:32       ` Fergus Henderson
2001-10-10  2:25         ` Florian Weimer [this message]
2001-10-10 11:00         ` Phil Edwards
2001-10-11 14:04     ` Zack Weinberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87g08rn7y4.fsf@deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=fjh@cs.mu.oz.au \
    --cc=gcc@gcc.gnu.org \
    --cc=tim@hollebeek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).