User forums > General (but related to Code::Blocks)
Wizard.GetTargetCompilerID doesn't seem to work
(1/1)
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.
MortenMacFly:
--- Quote from: bigbug on December 11, 2006, 03:11:11 pm ---Replacing with Wizard.GetCompilerID makes the wizards work again.
--- End quote ---
Done that in SVN. Thanks.
(Have to find the root of this anyway, though - actually GetTargetCompilerID() *should* work.)
With regards, Morten.
Navigation
[0] Message Index
Go to full version