News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code::Blocks treating all warning options as checked

Started by relpats_eht, August 11, 2010, 08:39:25 AM

Previous topic - Next topic

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.