Re: Arc: Switch case is in protected scope
Re: Arc: Switch case is in protected scope
- Subject: Re: Arc: Switch case is in protected scope
- From: Daniel Höpfl <email@hidden>
- Date: Tue, 22 Oct 2013 10:41:47 +0200
Hi,
On 2013-10-22 10:06, ChanMaxthon wrote:
Compiler issue. All cases in a switch statement shares a same scope,
and ARC works by inserting code into beginning and end of scopes.
switch() statement jumps around, making code path very unpredictable,
confusing ARC.
It is a compiler issue. But as I wrote in my other post, the posted code
is invalid C, so it is a compiler issue with the non-arc compiler.
Bye,
Daniel
_______________________________________________
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