Top "Warnings" questions

A warning is often issued on recognizing a potential high-risk situation, a probable misunderstanding, degraded service or imminent failure.

Bogus Eclipse warning for web.xml: "No grammar constraints (DTD or XML schema) detected for the document."

The top of my web.xml file looks like this: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://…

java eclipse xsd warnings
"dereferencing type-punned pointer will break strict-aliasing rules" warning

I use a code where I cast an enum* to int*. Something like this: enum foo { ... } ... foo foobar; int *pi = …

c++ warnings strict-aliasing
Is using #pragma warning push/pop the right way to temporarily alter warning level?

Once in a while it's difficult to write C++ code that wouldn't emit warnings at all. Having warnings enabled is …

c++ visual-c++ warnings compiler-warnings pragma
HttpClient WARNING: Cookie rejected: Illegal domain attribute

I'm using HttpClient latest version (4.x). And right now I'm trying to do A GET Request. I just posting a …

java cookies warnings httpclient
warning: format not a string literal and no format arguments

I want to remove the warning that i get on this line of the code, FILE *fil; char *imp; (...) fprintf(…

c++ c format warnings printf
c++ overloaded virtual function warning by clang?

clang emits a warning when compiling the following code: struct Base { virtual void * get(char* e); // virtual void * get(char* …

c++ warnings overloading virtual hidden
Visual Studio warning level meanings?

On the build tab in a Web Application project I have a setting called "Warning Level". I can set a …

c# visual-studio warnings compiler-warnings
Suppress Ruby warnings when running specs

I'm looking for a way to suppress Ruby warnings when I run my specs. spec spec/models/account_spec.rb …

ruby-on-rails ruby rspec warnings
In Xcode, how to suppress all warnings in specific source files?

In my application I use 3rd party code that triggers some warnings. I reviewed them and they can be safely …

xcode warnings
Java 6: Unsupported @SuppressWarnings("rawtypes") warning

I moved to a new machine which has the latest Sun's Java compiler and noticed some warnings in the existing …

java compiler-construction warnings suppress-warnings raw-types