Top "Compiler-warnings" questions

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

How to intentionally cause a custom java compiler warning message?

I'm about to commit an ugly temporary hack in order to work around a blocking issue while we wait for …

java compiler-warnings javac
"Delegate subtraction has unpredictable result" in ReSharper/C#?

When using myDelegate -= eventHandler ReSharper (version 6) issues: Delegate subtraction has unpredictable result The rational behind this is explained by …

c# events delegates resharper compiler-warnings
Why should I always enable compiler warnings?

I often hear that when compiling C and C++ programs I should "always enable compiler warnings". Why is this necessary? …

c++ c warnings compiler-warnings c++-faq
c++ warning: enumeration value not handled in switch [-Wswitch]

I am trying to compile following code without warnings: while (window.pollEvent(event)) { switch (event.type) { case sf::Event::Closed: …

c++ switch-statement warnings compiler-warnings
"Consider app.config remapping of assembly ..." warning in F#

After I installed VS11, I started to get the following error: Consider app.config remapping of assembly "FSharp.Core, Culture=…

f# compiler-warnings
Compilation warning: Unchecked call to XXX as member of the raw type

I am getting the compiler warning: warning: [unchecked] unchecked call to setView(V) as a member of the raw type …

java generics compiler-warnings unchecked
#pragma warning disable & restore

I have used c# to create a First Project. I have many warning errors and all these warning errors are …

c# .net compiler-warnings pragma
bootstrap class path not set

So I am getting- warning: [options] bootstrap class path not set in conjunction with -source 1.6 And I am about to …

java class netbeans compiler-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
C++ Boost: what's the cause of this warning?

I have a simple C++ with Boost like this: #include <boost/algorithm/string.hpp> int main() { std::string …

c++ boost compiler-warnings