This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc++/48275] New: getter=namespace failing with .mm


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Ã


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]