Author Topic: Wizard.GetTargetCompilerID doesn't seem to work  (Read 3926 times)

bigbug

  • Guest
Wizard.GetTargetCompilerID doesn't seem to work
« on: December 11, 2006, 03:11:11 pm »
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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Wizard.GetTargetCompilerID doesn't seem to work
« Reply #1 on: December 11, 2006, 03:33:14 pm »
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: Wizard.GetTargetCompilerID doesn't seem to work
« Reply #2 on: December 11, 2006, 07:01:13 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ