[patch] Fix pr16247

jahanian fjahanian at apple.com
Fri Jun 7 11:09:28 PDT 2013


On Jun 7, 2013, at 10:44 AM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:

>> This is dicey. Argument type to objc_enumerationMutation is ‘id’ which is
>> translated into
>> what ‘id’ is typedef’ed to; “struct objc_object*”. If projects have forward
>> declaration of
>> objc_enumerationMutation in their header files, this will cause conflicting
>> types error
>> for objc_enumerationMutation.
> 
> I see. The attached patch updates the tests to not define id to void* instead.

Yes. Lazy me. It should have been that way to start with.
- Fariborz

> 
> Cheers,
> Rafael
> <t.patch>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130607/b72118e0/attachment.html>


More information about the cfe-commits mailing list