[cfe-dev] Small change to ObjC builtin type definition

Daniel Dunbar daniel at zuster.org
Mon Sep 8 10:30:34 PDT 2008

This causes several failure in the test suite
(Parser/objc-forcollection-*) if I apply. Can
you investigate?

 - Daniel

On Mon, Sep 8, 2008 at 8:15 AM, David Chisnall <csdavec at swansea.ac.uk> wrote:
> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list