From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21477 invoked by alias); 29 Jul 2004 05:16:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21468 invoked by uid 48); 29 Jul 2004 05:16:23 -0000 Date: Thu, 29 Jul 2004 05:16:00 -0000 From: "ratmice at yahoo dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040729051618.16816.ratmice@yahoo.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug other/16816] New: obj-c++ parser error with multi-colon selectors X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg03450.txt.bz2 List-Id: using the objc-improvements-branch checked out 07-28 main.mm: In function `int main()': main.mm:15: error: expected `)' before '::' token main.mm:15: error: expected `,' or `;' before '::' token anyways.. this same file compiles correctly as a .m #include @interface Foo : Object -(int)foo:(id)bar :(id)baz; @end @implementation Foo -(int)foo:(id)bar :(id)baz { return 0; } @end int main() { SEL foo = @selector(foo::); return 0; } -- Summary: obj-c++ parser error with multi-colon selectors Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ratmice at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16816