Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Balazs on January 09, 2007, 07:08:47 pm

Title: compile command bug
Post by: Balazs 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.)
Title: Re: compile command bug
Post by: mandrav on January 10, 2007, 11:21:35 am
Please provide a minimal sample project. Works fine here with my tests.
Title: Re: compile command bug
Post by: Balazs 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]
Title: Re: compile command bug
Post by: mandrav on January 15, 2007, 12:31:06 pm
Fixed in revision 3492.