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:


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:


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.