http://llvm.org/bugs/show_bug.cgi?id=4701
Summary: Definitions of id and Class ignored
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=3297)
--> (http://llvm.org/bugs/attachment.cgi?id=3297)
Test case.
Accessing fields in id and Class no longer works. Any definition of these
types in code is now completely ignored. This breaks any code on the GNU
runtime that includes objc/objc-api.h.
The attached file is the result of preprocessing this trivial program on a
platform with the GNU platform:
#import <objc/objc.h>
const void *testSel(SEL a)
{
return a->sel_types;
}
const void *testClass(Class a)
{
return a->name;
}
const void *testId(id a)
{
return a->class_pointer;
}
--
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