Messages emitted by a compiler which indicate potential problems in code or configuration.
When I try to compile the piece of code below, I get this warning: warning: suggest parentheses around assignment used …
c compiler-construction compiler-warningsI have below class class Cdata12Mnt { public: char IOBname[ID1_IOB_PIOTSUP-ID1_IOB_TOP][BOADNAM_MAX + 4]; char ExIOBname[ID1_…
c++ object compiler-errors project compiler-warningsWhy is this a warning? I think there are many cases when is more clear to use multi-char int constants …
c++ c casting compiler-warnings portabilityI have a bunch of compile time asserts, such as: CASSERT(isTrue) or CASSERT2(isTrue, prefix_) When compiling with GCC …
gcc warnings compiler-warningsstruct SemanticDirection; fn main() {} warning: struct is never used: `SemanticDirection` --> src/main.rs:1:1 | 1 | struct SemanticDirection; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(dead_…
warnings compiler-warnings rust dead-codeI'm attempting to learn C and already I've run into an issue. I assume its trivial but I need to …
c compiler-warningsI'm getting a compiler warning for the @SuppressWarnings annotation in eclipse for the code: @Override public boolean doSomething(@SuppressWarnings("unused") …
java eclipse annotations compiler-warnings suppress-warningsWhen I compile, javac outputs: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation …
java compiler-warnings javacI would like to use a global set of flags for compiling a project, meaning that at my top-level CMakeLists.…
c++ cmake compiler-warningsI would like to enable -- literally -- ALL of the warnings that GCC has. (You'd think it would be …
c++ gcc warnings compiler-warnings gcc-warning