[LLVMbugs] [Bug 4701] New: Definitions of id and Class ignored
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Aug 8 12:56:21 PDT 2009
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: unassignedbugs at nondot.org
ReportedBy: csdavec at swan.ac.uk
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list