Author Topic: compile command bug  (Read 5565 times)

Balazs

  • Guest
compile command bug
« on: January 09, 2007, 07:08:47 pm »
CB issues a bad command for precompiling headers:

Code
mingw32-g++.exe -O3 -Wall -I..\..\..\src -c ..\..\..\src\pch.h -o src\pch.h.gch

The output file path is wrong. It should be like this:

Code
mingw32-g++.exe -O3 -Wall -I..\..\..\src -c ..\..\..\src\pch.h -o ..\..\..\src\pch.h.gch

(Using "Generate PCH alongside original header" strategy.)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: compile command bug
« Reply #1 on: January 10, 2007, 11:21:35 am »
Please provide a minimal sample project. Works fine here with my tests.
Be patient!
This bug will be fixed soon...

Balazs

  • Guest
Re: compile command bug
« Reply #2 on: January 12, 2007, 03:09:46 pm »
Here you go. The pch should be generated alongside the header, but it is not.


[attachment deleted by admin]

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: compile command bug
« Reply #3 on: January 15, 2007, 12:31:06 pm »
Fixed in revision 3492.
Be patient!
This bug will be fixed soon...