Re: -isystem setting?
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