Top "Compiler-warnings" questions

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

How to ignore compiler warning when using Obsolete attribute on a class used with a Knowntype attribute

So we are trying to deprecate some of our existing classes, and have started marking them as obsolete with the …

c# .net attributes compiler-warnings
Checking the gcc version in a Makefile?

I would like to use some gcc warning switchs that aren't available in older gcc versions (eg. -Wtype-limits). Is there …

gcc makefile version portability compiler-warnings
How to detect unused methods and #import in Objective-C

After working a long time on an iPhone app, I realized that my code is quite dirty, containing several #import …

objective-c xcode methods compiler-warnings
How to get Intellij Idea to display compilation warnings?

I'm working with Intellij Idea 10 and Java 6 JDK Update 7. When I run Build --> Rebuild Project command, and the (…

intellij-idea compiler-warnings javac
Custom Compiler Warnings

When using the ObsoleteAtribute in .Net it gives you compiler warnings telling you that the object/method/property is obsolete …

c# .net vb.net attributes compiler-warnings
assert() with message

I saw somewhere assert used with a message in the following way: assert(("message", condition)); This seems to work great, …

c gcc compiler-warnings assert
What is the "Ignoring InnerClasses attribute" warning output during compilation?

I am new to Android and am using the Ical4j library for parsing ICS (Outlook calendar) files. However, when …

android compiler-warnings
disable specific warnings in gcc

On microsoft compilers, specific warnings can be disabled with a #pragma, without disabling other warnings. This is an extremely useful …

gcc compiler-warnings
Can GCC not complain about undefined references?

Under what situation is it possible for GCC to not throw an "undefined reference" link error message when trying to …

c gcc compiler-errors compiler-warnings
Fix warning "C-style for Statement is deprecated" in Swift 3

I have update Xcode to 7.3 and now I have a warning to the function that I use to create random …

swift for-loop swift2 compiler-warnings