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

steve naroff snaroff at apple.com
Tue Aug 11 10:59:18 PDT 2009


Hi David,

I just returned from vacation (sorry for the delayed response).

I'm not surprised there is some "fallout" from the id/Class change.

I'll contact you directly to see if you need any help resolving this.

Thanks,

snaroff

On Aug 8, 2009, at 10:58 AM, David Chisnall wrote:

> 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
>
> _______________________________________________
> 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