• 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: -isystem setting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -isystem setting?


  • Subject: Re: -isystem setting?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 18 Mar 2014 17:11:52 -0700


On Mar 18, 2014, at 3:35 PM, Rick Mann <email@hidden> wrote:

Nope, I mean -isystem. It's like -iquote, but intended for "system" search paths. The system can't be wrong, and so warnings are suppressed (like shadowed variables).

Oh, interesting. I'd love to be able to turn on variable-shadowing warnings but couldn't find a way to For me the deal-breaker wasn't system headers that shadow stuff, but the way system headers define a lot of symbols with generic names like "time", which then causes warnings whenever I use a local variable with any of those names.

What I really want is a warning about shadowing that ignores stuff in the global scope. I only care when my code shadows one local variable (or parameter) with another, not when it uses one of the millions of names in the global namespace.

—Jens
 _______________________________________________
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: 
 >Re: -isystem setting? (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: why are conditional breakpoints SO SLOW?
  • Next by Date: Re: Xcode 5.1 compiler option -Ofast
  • Previous by thread: Re: -isystem setting?
  • Next by thread: I found a Clang analyzer bug!
  • Index(es):
    • Date
    • Thread