Top "Compiler-warnings" questions

Messages emitted by a compiler which indicate potential problems in code or configuration.

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
How to disable a specific nvcc compiler warnings

I want to disable a specific compiler warning with nvcc, specifically warning: NULL reference is not allowed The code I …

cuda compiler-warnings pragma nvcc
ld: library not found for -lcrt1.10.6.o after running Intel icc compiler on OS Mavericks

I just upgraded from OS Mountain Lion to Mavericks, ran intel icc compiler, icc test.c, it said #include <…

macos compiler-warnings icc
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
GCC does not honor 'pragma GCC diagnostic' to silence warnings

We recently enabled -Wall for a project. Its enabled when GCC is at 4.7 or above (or Clang) because we can …

c++ gcc openmp compiler-warnings pragma
Is there a way to get VS2008 to stop warning me about unreachable code?

I have a few config options in my application along the lines of const bool ExecuteThis=true; const bool ExecuteThat=…

c# compiler-warnings
C++/CLI : How to override Equal method of Object class

I am a newbie to C++/CLI and is having some problems trying to override the Equal method of the …

c++-cli compiler-errors compiler-warnings method-declaration
WITH CHECK | NOCHECK OPTION FOR EXISTING DATA CHECK ENFORCEMENT IS IGNORED

I am using Visual Studio 2012, with a SQL database project and running database analysis against this database and it is …

sql-server visual-studio compiler-warnings static-analysis database-project
C#: Is pragma warning restore needed?

From msdn I get this: #pragma warning disable warning-list #pragma warning restore warning-list In the examples, both disable and restore …

c# compiler-warnings pragma
How to avoid deprecation warnings when @SuppressWarnings("deprecation") doesn't work?

We have a Java project. We enable -Xlint (enable warnings) and -Werror (treat warning as error) flags for javac, to …

java compilation compiler-warnings deprecated suppress-warnings