Top "Compiler-warnings" questions

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

"getenv... function ... may be unsafe" - really?

I'm using MSVC to compile some C code which uses standard-library functions, such as getenv(), sprintf and others, with /W3 …

visual-c++ compiler-warnings crt getenv c-standard-library
Conditional references in .NET project, possible to get rid of warning?

I have two references to a SQLite assembly, one for 32-bit and one for 64-bit, which looks like this (this …

c# reference project conditional compiler-warnings
c++ Builder xe5 Error detected (LME288)

c++ Builder xe5 [ilink32 Error] Error: Unable to perform link [ilink32 Warning] Warning: Error detected (LME288) that happened when i …

c++builder compiler-warnings c++builder-xe5
Dynamic forwarding: suppress Incomplete Implementation warning

I have a class exposing some methods, whose implementation is provided by an inner object. I'm using forward invocation to …

objective-c xcode llvm compiler-warnings suppress-warnings
Java: complete list of @SuppressWarnings(...) parameters (in Netbeans)?

Netbeans provides a lot of custom "hints", which are like warnings, only that most of them can't be suppressed (just …

java netbeans compiler-warnings suppress-warnings
Turn off warnings coming from subprojects

Can someone help me to turn off warnings in Xcode 4 that I'm getting from subprojects? I have three subprojects, with …

xcode xcode4 compiler-warnings
warning : 'integer conversion results in truncation'

I get an warning here. The warning says 'integer conversion results in truncation'. It persists even if I remove the …

compiler-warnings bitwise-operators ones-complement
boost::system::(...)_category defined but not used

I'm currently getting compiler warnings that resemble the warning I gave in the question title. Warnings such as.... warning: 'boost::…

c++ boost compiler-warnings unused-variables
WPF Dynamic Resource: Warning Message - "The resource 'resource' could not be resolved."

Basically, I have a UserControl that uses a DynamicResources. The application compiles and runs fine using that resource, but it's …

wpf xaml compiler-warnings suppress-warnings dynamicresource