• 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: Shadowed variable warning when using blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Shadowed variable warning when using blocks (From: Stonewall Ballard <email@hidden>)

  • Prev by Date: Shadowed variable warning when using blocks
  • Next by Date: capture #define value?
  • Previous by thread: Shadowed variable warning when using blocks
  • Next by thread: capture #define value?
  • Index(es):
    • Date
    • Thread