public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jwakely dot gcc at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
Date: Tue, 02 Oct 2007 23:54:00 -0000 [thread overview]
Message-ID: <20071002235404.8384.qmail@sourceware.org> (raw)
In-Reply-To: <bug-23194-5876@http.gcc.gnu.org/bugzilla/>
------- Comment #6 from jwakely dot gcc at gmail dot com 2007-10-02 23:54 -------
(From update of attachment 14287)
>Index: gcc/cp/typeck.c
>===================================================================
>--- gcc/cp/typeck.c (revision 128908)
>+++ gcc/cp/typeck.c (working copy)
>@@ -2716,8 +2716,8 @@
> if (TYPE_PTRMEMFUNC_P (fntype))
> {
> error ("must use %<.*%> or %<->*%> to call pointer-to-member "
>- "function in %<%E (...)%>",
>- original);
>+ "function in %<%E (...)%>, e.g. %<(... ->* %E) (...)%>",
>+ original, original);
> return error_mark_node;
> }
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23194
next prev parent reply other threads:[~2007-10-02 23:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-23194-5876@http.gcc.gnu.org/bugzilla/>
2007-10-02 22:08 ` bangerth at dealii dot org
2007-10-02 23:28 ` jwakely dot gcc at gmail dot com
2007-10-02 23:30 ` bangerth at dealii dot org
2007-10-02 23:54 ` jwakely dot gcc at gmail dot com [this message]
2007-10-02 23:59 ` Andrew Pinski
2007-10-02 23:59 ` pinskia at gmail dot com
2007-10-03 0:00 ` jwakely dot gcc at gmail dot com
2007-10-03 0:03 ` bangerth at dealii dot org
2007-10-03 0:16 ` jwakely dot gcc at gmail dot com
2007-10-03 0:24 ` pinskia at gcc dot gnu dot org
2007-10-03 0:32 ` jwakely dot gcc at gmail dot com
2008-06-24 20:45 ` redi at gcc dot gnu dot org
2008-06-24 20:47 ` jwakely dot gcc at gmail dot com
2005-08-02 6:38 [Bug c++/23194] New: " redi at gcc dot gnu dot org
2005-08-02 6:41 ` [Bug c++/23194] " pinskia at gcc dot gnu dot org
2005-08-02 8:45 ` redi at gcc dot gnu 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=20071002235404.8384.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).