http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
Summary: getter=namespace failing with .mm
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: objc++
AssignedTo: [email protected]
ReportedBy: [email protected]
gcc fails to compile when using objc++ and having getter=namespace.
I don't have the latest revision of the trunk, so someone should verify it is
still there or not.
$ cat test.h
@interface Test
{
int ns;
}
@property (getter=namespace) int ns;
@end
$ cat gccbug.mm
#import "test.h"
$ gcc-4.6 -lobjc -o test gccbug.mm
In file included from gccbug.mm:1:0:
test.h:5:19: error: expected identifier before ânamespaceâ
test.h:5:19: error: expected â)â before ânamespaceâ