[LLVMbugs] [Bug 8169] New: clang does not allow a getter to be named "namespace" in ObjC++
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 17 02:10:40 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: js-llvm-bugzilla at webkeks.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list