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: Graham Cox <email@hidden>
- Date: Tue, 22 Oct 2013 09:10:59 +0100
On 22/10/2013, at 9:02 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
> (I still would like to know whether my code was faulty, or whether this is a compiler bug
Your code was faulty, at least according to the rules of C (which could be argued about, but not fruitfully). If you insert temporary variables within a particular case, you need to put braces around the code for that case.
--Graham
_______________________________________________
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