Page 1 of 1

Precompiled Headers aren't rebuild on change (BCC32c)

Posted: Fri Jun 24, 2022 2:05 am
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

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

Posted: Sat Jun 25, 2022 10:57 am
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?

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

Posted: Mon Jun 27, 2022 1:16 am
by TKrauss
No but there the PCH ist always built, even when there are no changes...