public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/2112 Date: Thu, 21 Nov 2002 02:56:00 -0000 [thread overview] Message-ID: <20021114213600.31772.qmail@sources.redhat.com> (raw) The following reply was made to PR c++/2112; it has been noted by GNATS. From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> To: nathan@gcc.gnu.org Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/2112 Date: Thu, 14 Nov 2002 15:34:35 -0600 (CST) Nathan, you marked this report as confirmed. How strongly do you feel about this? I think the message I get is actually not wrong, so at the most I would concede to make it a feature-request and mark it as that (and maybe put it in suspended mode?). I agree that the message 2.95 (the lower one below) is more accurate, but I think the one we now get is also ok. Regards Wolfgang tmp/g> cat y.cc struct X; void f (int &); void f (X); void g () {f(1); }; tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -c y.cc y.cc: In function `void g()': y.cc:5: error: no matching function for call to `f(int)' y.cc:3: error: candidates are: void f(int&) y.cc:4: error: void f(X) tmp/g> c++ -c y.cc y.cc: In function `void g()': y.cc:5: initialization of non-const reference type `int &' y.cc:5: from rvalue of type `int' y.cc:3: in passing argument 1 of `f(int &)' ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth
next reply other threads:[~2002-11-14 21:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-21 2:56 Wolfgang Bangerth [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-11-22 15:46 c++/2112 Nathan Sidwell 2001-04-27 8:16 c++/2112 nathan
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=20021114213600.31772.qmail@sources.redhat.com \ --to=bangerth@ticam.utexas.edu \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).