This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/48275] New: getter=namespace failing with .mm
- From: "jos at kuijpersvof dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2011 15:44:52 -0000
- Subject: [Bug objc++/48275] New: getter=namespace failing with .mm
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: jos@kuijpersvof.nl
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Ã