User forums > General (but related to Code::Blocks)

Please test a possible bug.

(1/2) > >>

headkase:
In a C project, in the global compiler options, put "-std=c11" in other compiler options, enable "-Wextra", compile your project, then disable Wextra and see if there are "-Wall and -g" options that you can't get rid of during compilation from that point on.

Using SVN 10640.

stahta01:
Did you remove the options from the Project compiler settings?

Tim S.

headkase:
In the project build options I can get rid of the extra debug symbols (-g) but -Wall is neither in the global compiler options nor the project build options yet it is still present.

Some extra information, I am now on Arch Linux 64-bit, I did import some editor color themes using cb_share_config, attaching my Code::Blocks ~/.config/codeblocks directory below.

Jenna:
No such issue here.

Are you aware, that in the wizard created c-project "-g" is set in the debug-target's settings only, but "-Wall" for both targets (on project-level) ?

headkase:
Ok, thank you jens.

In the project build options, debug, policy = use target options only does not compile with -Wall.  Policy = use project options only does compile with -Wall.  No where, in global or build options is -Wall checked in the GUI.

Since this seems to be expected behavior then I apologize for the time spent.  ;)

Navigation

[0] Message Index

[#] Next page

Go to full version