This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
- From: "jwakely dot gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2007 23:28:27 -0000
- Subject: [Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
- References: <bug-23194-5876@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jwakely dot gcc at gmail dot com 2007-10-02 23:28 -------
Created an attachment (id=14287)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14287&action=view)
add example to diagnostic
This adds ", e.g. '(...->*pmf) (...)'" to the error message.
I chose to use ->* not .* because otherwise you get (....*pmf) which doesn't
help either!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23194