http://llvm.org/bugs/show_bug.cgi?id=8169

           Summary: clang does not allow a getter to be named "namespace"
                    in ObjC++
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


I think the paste shows it all:

avalon:/tmp$ g++ `objfw-config --all` test.mm
avalon:/tmp$ clang `objfw-config --all` test.mm
In file included from test.mm:1:
In file included from /usr/local/include/ObjFW/ObjFW.h:16:
/usr/local/include/ObjFW/OFExceptions.h:1166:40: error: expected identifier
@property (readonly, nonatomic, getter=namespace) OFString *ns;
                                       ^
In file included from test.mm:1:
In file included from /usr/local/include/ObjFW/ObjFW.h:43:
/usr/local/include/ObjFW/OFXMLAttribute.h:29:37: error: expected identifier
@property (readonly, retain, getter=namespace) OFString *ns;
                                    ^
In file included from test.mm:1:
In file included from /usr/local/include/ObjFW/ObjFW.h:44:
/usr/local/include/ObjFW/OFXMLElement.h:39:35: error: expected identifier
@property (readonly, copy, getter=namespace) OFString *ns;
                                  ^
3 errors generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to