Top "Suppress-warnings" questions

Compilers and interpreters commonly warn about miscellaneous conditions.

Suppress "variable is never assigned" warning in IntelliJ IDEA

We use reflection extensively to set class field values in our code. The fields are accessed in code but they …

java intellij-idea suppress-warnings
Disable warnings in Xcode from frameworks

I have imported the three20 project into my project, and when I upgraded to Xcode 4.2 with iOS 5, a bunch of …

xcode xcode4.2 compiler-warnings suppress-warnings
CGContextSaveGState: invalid context 0x0 (Xcode 7 GM)

I have this problem after I compiled my code with Xcode 7 GM. According to Apple this is a bug, but …

xcode ios9 xcode7 suppress-warnings
How to suppress a third-party warning using warnings.filterwarnings

I am using Paramiko in my python code (for sftp). Everything works fine except that everytime I import or call …

python suppress-warnings paramiko pycrypto
How to suppress warnings in external headers in Visual C++

I'm starting a new BREW project, and I'd like to compile with Warning Level 4 (/W4) to keep the application code …

visual-c++ suppress-warnings brew-framework brewmp
What's the best way to suppress a runtime console warning in Java?

I am using the getResponseBody() method of the org.apache.commons.httpclient.methods.PostMethod class. However, I am always getting …

java console runtime warnings suppress-warnings
Disable go vet checks for "composite literal uses unkeyed fields"

I'm running go vet on my CI tool, and started getting the error: composite literal uses unkeyed fields Because I'm …

go warnings suppress-warnings
How to ignore warning errors?

I have the following PowerShell script. It picks up the NetBIOS name of computers within a given IP address. I'm …

powershell suppress-warnings powershell-ise
Is it possible to make valgrind ignore certain libraries?

Or preferably all of them instead of just my code? My program uses Gtk, Loudmouth and few other things, and …

valgrind suppress-warnings
What does casting to `void` really do?

An often used statement like (void)x; allows to suppress warnings about unused variable x. But if I try compiling …

c++ casting compiler-warnings void suppress-warnings