From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10135 invoked by alias); 2 Oct 2007 23:59:11 -0000 Received: (qmail 10096 invoked by alias); 2 Oct 2007 23:59:02 -0000 Date: Tue, 02 Oct 2007 23:59:00 -0000 Message-ID: <20071002235902.10095.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00181.txt.bz2 ------- Comment #7 from pinskia at gmail dot com 2007-10-02 23:59 ------- Subject: Re: Unhelpful diagnostic for incorrect pointer-to-member function syntax On 2 Oct 2007 23:54:04 -0000, jwakely dot gcc at gmail dot com 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23194