News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

-Wall forced in compile command

Started by c.panel, April 16, 2013, 12:14:48 PM

Previous topic - Next topic

c.panel

I found no way to disable the -Wall compile option which seems to be inserted in compile command line. Is it a bug ?
this bug exists too when I change compiler and throw an error.
I'm using Codeblocks 12.11 on WindowsXP

thanks for any answer... 

Jenna

If it is not set in the projects (or targets) build-options, it must be set in global compiler settings.
Please check all these places.

C::B does not add it itself (except for the settings of wizard-created projects).

stahta01

#2
Quote from: c.panel on April 16, 2013, 12:14:48 PM
I found no way to disable the -Wall compile option which seems to be inserted in compile command line. Is it a bug ?
this bug exists too when I change compiler and throw an error.

Warning when changing compilers in projects the options NOT valid for new Compiler tend to move to the other settings for Linker and Compiler options.

Where to look for Compiler Other Options

Project -> Build Options
NOTE: Remember Select each target one by one to check each one for the options.
Tab "Compiler Settings"
Sub-Tab "Other Options"

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]