public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/15706] [3.4 Regression] gcc-3.4.0 gives wrong error message regarding name conflict
Date: Tue, 01 Jun 2004 15:11:00 -0000	[thread overview]
Message-ID: <20040601151121.5320.qmail@sourceware.org> (raw)
In-Reply-To: <20040528154454.15706.2boxers@comcast.net>


------- Additional Comments From bangerth at dealii dot org  2004-06-01 15:11 -------
This is a duplicate of some other PR in which I complain that the 
message we get from 3.3, namely 
  g/x> /home/bangerth/bin/gcc-3.3.4-pre/bin/c++ -c x.cc 
  x.cc: In function `void g()': 
  x.cc:9: error: use of `minus' is ambiguous 
  x.cc:6: error:   first declared as `int (*minus)(int, int)' here 
  x.cc:3: error:   also declared as `T f::minus(T, T)' here 
  x.cc:9: error: `minus' undeclared (first use this function) 
  x.cc:9: error: (Each undeclared identifier is reported only once for each  
     function it appears in.) 
is completely bogus since it first complains that there are two 
declarations, then that the name is undeclared. Someone may want to 
go find that other PR. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15706


  parent reply	other threads:[~2004-06-01 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28 23:34 [Bug c++/15706] New: " 2boxers at comcast dot net
2004-05-28 23:35 ` [Bug c++/15706] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-06-01 15:11 ` bangerth at dealii dot org [this message]
2004-06-01 15:13 ` bangerth at dealii dot org

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=20040601151121.5320.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).