Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clang Garbage Collection Bug under Leopard?



On Sep 1, 2009, at 3:09 PM, Sean McBride wrote:

Perhaps clang is only able to deploy to 10.6, I hadn't considered that.
I don't see anything to that effect in the Xcode 3.2 release notes however.

That is currently the case, unintentionally. Thus, it isn't release noted.


Ashley did file a bug [thanks] and it is now duped to Sean's bug [thanks].

The problem is that Clang generates the wrong write barrier for the global assignment; right for Snow Leopard, incompatible with Leopard.

A straightforward workaround is to CFRetain the global upon assignment (or use NSGarbageCollector to disable collection for the pointer). Straightforward, yes, but not pretty.

b.bum

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/objc-language/email@hidden

This email sent to email@hidden
References: 
 >Clang Garbage Collection Bug under Leopard? (From: Ashley Clark <email@hidden>)
 >Re: Clang Garbage Collection Bug under Leopard? (From: "Sean McBride" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.