User forums > Help

Code::Blocks treating all warning options as checked

(1/1)

relpats_eht:
Greetings,

I am running Code::Blocks 10.5 on Gentoo. For some reason, no matter the state of any checkbox in the Compiler Options section of Build Options, something (I believe Code::Blocks) is instructing g++ to treat all warnings as active. Passing -Wno-* for specific warnings I really don't want (like -Wunreachable-code) has no effect. Any pointers would be appreciated.

-- relpats_eht

Jenna:
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and see in the build log what is really sent to the compiler.
Check your global compiler settings and double check your projects and build targets settings, to see if anything is wrong.

relpats_eht:
Ah, the global settings, I completely forgot those existed.

Thank you, fixed.

Navigation

[0] Message Index

Go to full version