Re: Shadowed variable warning when using blocks
Re: Shadowed variable warning when using blocks
- Subject: Re: Shadowed variable warning when using blocks
- From: Fritz Anderson <email@hidden>
- Date: Sat, 30 Jan 2010 10:49:09 -0600
On 30 Jan 2010, at 10:12 AM, Stonewall Ballard wrote:
> I don't see any way to tag a variable to say that it's ok for it to shadow, and there's no way to avoid that with blocks.
> Unless there is a way to suppress this now, I'd like to lobby for an addition to GCC that avoids the warning. Is that something I should file a bug report on, or is there some other place to do that?
When in doubt, file a bug. <http://bugreport.apple.com/> Mailing-list comments never make it into anyone's work queue.
You might also ask on Apple's obj-language list about the grammar of it, though your question is mostly about the behavior of the compiler. People there might be able to comment on how hard the change might be to implement.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden