Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Ignore Analyzer warnings #821

Closed
simonmaddox opened this Issue · 9 comments

8 participants

@simonmaddox

Much like how you can inhibit compiler warnings, I'd like to be able to inhibit the static analyzer warnings too (it's not my code, and I have no interest in seeing the analyzer warnings for it).

It'd obviously need to be opt-in, like inhibiting the warnings is, but it seems fairly trivial to implement:

Just add -Xanalyzer -analyzer-disable-checker to the compiler flags (I don't know of a target-wide setting for this. Maybe there is one though?)

@alloy
Owner

I wonder if we shouldn’t just include this in inhibit_all_warings! as well.

Objections?

@simonmaddox

Yeah, I'd agree that seems like the right place to do this.

I've added this in a local branch, so I'm happy to submit a Pull Request if you'd like? It's something like 6 lines extra (without tests), so it's your call :)

@fabiopelosin

Sounds good, please submit the pull.

@supermarin supermarin was assigned
@supermarin
Collaborator

Implemented in #943

@supermarin supermarin closed this
@rasad88

This is no longer working on v0.33.1 with Xcode 6.

@segiddins
Owner

Please update to v0.34.4.

@benrudhart

This doesn't work with v0.34.4 either.

@felixkurniawan

Yes, this doesn't work in v.0.34.4 and Xcode 6

@alloy
Owner

See #2816.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.