Top "Suppress-warnings" questions

Compilers and interpreters commonly warn about miscellaneous conditions.

Suppress a warning for all projects in Visual Studio

I've seen answers showing how to suppress a warning for a specific line of code or for a specific project. …

c# .net visual-studio suppress-warnings
How do I suppress Eclipse 3.5's warnings of dead code

I use a class for detecting email addresses which uses static final booleans to configure the matching behavior. Since I …

java eclipse warnings suppress-warnings
Visual Studio 2010 (C++): suppress C4706 warning temporarily

When you compile the following C++ source file in Visual Studio 2010 with warning level /W4 enabled #include <cstdio> // …

visual-studio visual-studio-2010 visual-c++ compiler-warnings suppress-warnings
C# Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first

I know these warnings are probably pointless.. But anyway I could get rid of them? I got 7 of these warnings. …

c# bit-manipulation compiler-warnings suppress-warnings
suppress messages displayed by "print" instead of "message" or "warning" in R

Many R packages I work with involve functions that give all their messages and warnings through commands to print() calls …

r suppress-warnings
How to eliminate external lib/third party warnings in GCC

In the software project I'm working on, we use certain 3rd party libraries which, sadly, produce annoying gcc warnings. We …

c++ gcc include suppress-warnings gcc-warning
Disabling a specific compiler warning in VS Code

I want to know how to suppress a specific compiler warning within VS Code for the entire project. I have …

c# compiler-warnings visual-studio-code suppress-warnings
Java: How to @SuppressWarnings unreachable code?

Sometimes when you are debugging, you have unreachable code fragment. Is there anyway to suppress the warning?

java suppress-warnings unreachable-code
How to make Qt GUI apps in C++ without memory leaks

I haven't been able to create a Qt GUI app that didn't have over 1K 'definitely lost' bytes in valgrind. …

c++ qt memory-leaks valgrind suppress-warnings
Turn off designated initializer checking in Xcode 6

I'm getting the compile error: error: convenience initializer missing a 'self' call to another initializer [-Werror,-Wobjc-designated-initializers] Compile-checked designated initializers …

objective-c xcode suppress-warnings designated-initializer