[cfe-dev] Fix for ObjC Class / id definition regression

David Chisnall csdavec at swan.ac.uk
Sat Aug 8 07:58:59 PDT 2009


Please ignore this patch, it breaks more than it fixes (although the  
problem is real and does prevent clang from working with any Objective- 
C programs on non-Apple platforms and possibly on Apple platforms with  
the legacy runtime).

David

On 8 Aug 2009, at 15:46, David Chisnall wrote:

> Hi,
>
> The attached diff fixes the recently-introduced regression where  
> clang ignores the definitions of the Objective-C types in a header  
> (although not, I believe, from a precompiled header, although I'd  
> need to check that).  The attached test.m is a preprocessed file  
> including one of the GNU runtime headers which demonstrates the  
> problem.  This will also be a problem with the legacy Apple runtime,  
> but not with the modern runtime (where these types are opaque).
>
> David
> <clang.diff><test.m>_______________________________________________
> 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