[cfe-dev] Small change to ObjC builtin type definition
csdavec at swansea.ac.uk
Mon Sep 8 08:15:49 PDT 2008
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cfe-dev