[Bug other/16816] New: obj-c++ parser error with multi-colon selectors
ratmice at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 29 05:16:00 GMT 2004
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 <objc/Object.h>
@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
More information about the Gcc-bugs
mailing list