News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Wizard.GetTargetCompilerID doesn't seem to work

Started by bigbug, December 11, 2006, 03:11:11 PM

Previous topic - Next topic

bigbug

If you use the MinGW g++ compiler, and create a project with either the dll wizard or the static-lib wizard, Code::Blocks complains not to know, how to set the Debug/Optimization flags. The wizard.script of the console wizard comments, that Wizard.GetTargetCompilerID doesn't seem to work and uses Wizard.GetCompilerID instead.
Wizard.GetTargetCompilerID is used in the dll wizard (line 75 and 80) and in the static-lib wizard (also line 75 and 80). Replacing with Wizard.GetCompilerID makes the wizards work again.

Biplab

You are right. This call doesn't work. I had submitted one patch to fix console application wizard. That time I had replaced the GetTargetCompilerID to GetCompilerID.
Be a part of the solution, not a part of the problem.

MortenMacFly

Quote from: bigbug on December 11, 2006, 03:11:11 PM
Replacing with Wizard.GetCompilerID makes the wizards work again.
Done that in SVN. Thanks.
(Have to find the root of this anyway, though - actually GetTargetCompilerID() *should* work.)
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]