[cfe-dev] Small change to ObjC builtin type definition
David Chisnall
csdavec at swansea.ac.uk
Mon Sep 8 08:15:49 PDT 2008
Hi,
As I said in a previous email, every Objective-C program redefines
the built-in types from a header found in the system. Currently, the
types for these are hard-coded in clang, for the NeXT runtime,
causing compilation to abort with any other runtime (specifically the
GNU one - there will be more problems with the Étoilé runtime later
since clang assumes selectors to be pointers in quite a few places).
The attached patch allows the definition in the headers to replace
the hard-coded definitions, allowing Objective-C programs to compile
for the GNU runtime again.
David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clang.diff.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080908/0c77c4bd/attachment.txt>
More information about the cfe-dev
mailing list