This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Oct 2007 16:58:55 -0700
- Subject: Re: [Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
- References: <bug-23194-5876@http.gcc.gnu.org/bugzilla/> <20071002235404.8384.qmail@sourceware.org>
On 2 Oct 2007 23:54:04 -0000, jwakely dot gcc at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
> ------- Comment #6 from jwakely dot gcc at gmail dot com 2007-10-02 23:54 -------
> (From update of attachment 14287)
> >+ "function in %<%E (...)%>, e.g. %<(... ->* %E) (...)%>",
> >+ original, original);
> > return error_mark_node;
It might be better to use %$1E (I think that is how it is done) so you
don't have to pass original twice.
Thanks,
Andrew Pinski