Precompiled Headers aren't rebuild on change (BCC32c)

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Precompiled Headers aren't rebuild on change (BCC32c)

Post by TKrauss »

Hi,

I have an Issue that if I'm changing a header file wich is part of the precompiled header, I have to rebuild the package.
A normal build is not sufficient and there is an error thrown (mtbcc exited witch code 1).

Could you do anything, that a compile run when header file is changed leads automatically in a build of that project?

Best regards,
Thorsten
jomitech
Site Admin
Posts: 2159
Joined: Wed Oct 08, 2008 12:23 am

Re: Precompiled Headers aren't rebuild on change (BCC32c)

Post by jomitech »

Unfortunately, this is an issue with the pre-compiled header not offering a dependency check. Not sure if the dependency information is even available in the compiled header. Do you have the same issue when you don't use TwineCompile?
Jon
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Re: Precompiled Headers aren't rebuild on change (BCC32c)

Post by TKrauss »

No but there the PCH ist always built, even when there are no changes...
Post Reply