public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <jbuck@synopsys.com>
To: bothner@cygnus.com (Per Bothner)
Cc: egcs@cygnus.com
Subject: Re: error message formatting
Date: Thu, 16 Apr 1998 13:53:00 -0000	[thread overview]
Message-ID: <199804161759.KAA21201@atrus.synopsys.com> (raw)
In-Reply-To: <199804161751.KAA10898@cygnus.com>

I wrote:
> > This one, on the other hand, may be trickier, because there are often
> > multiple typedefs referring to the same type (especially for maps and
> > sets: there is the map iterator as well as the rb_tree iterator).  It
> > might be tricky to decide which one to choose for display.

Per writes:
> You use the typedef name used in the declaration.

This suffices when an error is reported in a function: report the function
the way it was declared.  But in the case of a mismatched argument, there
are two declarations: the type of the actual argument and the type the
function was expecting.  There can be even more declarations involved when
there is an overloading ambiguity.

But maybe it's OK to just show everything the way it was declared.  It
would be worth trying out.

  reply	other threads:[~1998-04-16 13:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-15 14:53 Mike Stump
1998-04-15 20:39 ` Joe Buck
1998-04-16 10:51   ` Per Bothner
1998-04-16 13:53     ` Joe Buck [this message]
1998-04-16  5:58 ` David Cogen
  -- strict thread matches above, loose matches on Subject: below --
1998-04-20 11:44 Kaz Kylheku
1998-04-16 14:20 Mike Stump
1998-04-14 15:23 Anthony Shipman
1998-04-15  7:39 ` David Cogen
1998-04-15 14:53   ` Mark Schaefer
1998-04-15 14:53     ` David Cogen
1998-04-15 23:03       ` Joe Buck
1998-04-16  6:10         ` David Cogen
1998-04-16  2:26       ` Per Bothner
1998-04-16 16:34       ` Anthony Shipman
1998-04-17  2:23         ` Pieter Nagel
1998-04-17 14:42         ` David Cogen
1998-04-15 23:03     ` Joe Buck
1998-04-16 16:34   ` Craig Burley
1998-04-15 14:53 ` Joe Buck
1998-04-16  0:01   ` Mark Mitchell
1998-04-16 18:39     ` Alexandre Oliva
1998-04-16 23:59       ` Mark Mitchell
1998-04-16  5:58   ` David Cogen
1998-04-16 13:53     ` David Cogen
1998-04-21 17:06   ` Lassi A. Tuura

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=199804161759.KAA21201@atrus.synopsys.com \
    --to=jbuck@synopsys.com \
    --cc=bothner@cygnus.com \
    --cc=egcs@cygnus.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).