• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: __weak pointer collection firing prematurely???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __weak pointer collection firing prematurely???


  • Subject: Re: __weak pointer collection firing prematurely???
  • From: Britt Durbrow <email@hidden>
  • Date: Mon, 13 Aug 2012 23:38:57 -0700

OK, I think I've isolated the issue... basically, __weak, @public, and -fno-objc-arc don't like to play nice together. If you set a @public __weak instance variable (may also apply to stack variables, I haven't tested that yet) in a file compiled with -fno-objc-arc, and then access it in a file compiled with ARC turned on, the variable gets zeroed out.

I have reduced it to a simple test project, and I'm going to file a RADAR.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: __weak pointer collection firing prematurely???
      • From: John McCall <email@hidden>
References: 
 >__weak pointer collection firing prematurely??? (From: Britt Durbrow <email@hidden>)

  • Prev by Date: Window Title drop-down menu in 10.8
  • Next by Date: Re: Classes incompatible with weak references
  • Previous by thread: Re: __weak pointer collection firing prematurely???
  • Next by thread: Re: __weak pointer collection firing prematurely???
  • Index(es):
    • Date
    • Thread