Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: stahta01 on June 03, 2012, 03:18:40 am
-
FYI:
I just discovered a possible reason Code::Blocks has such problem with pch files from time to time.
Each project has 3 possible places/ways to store/find the PCH files.
I decided the way the Windows Main Project does it is the valid way to do it. (In the object file folder)
This patch makes all the contribs plugins do it the same way.
Please give feedback on whether this is a real problem and whether my solution is the correct one to do.
Tim S.
NOTE: Patch is for windows project files only; I have not patched the Linux/Mac project files.
Removed Patch it was not fixing the real problem.
Tim S.
-
Hm, does the contrib plugins generate pch files? I think they shouldn't.
-
Hm, does the contrib plugins generate pch files? I think they shouldn't.
They all use the SDK.h pch; I believe they look in the wrong place if the setting is not the same.
Note: I have not confirm that this is true.
After testing, some of the plugins seem to ignore the correct PCH copy of sdk.h and instead used an old pch copy version of sdk.h.
So, my possible cause is NOT valid.
In other words, you are correct the option has no effect on where the PCH file is looked to be found.
Note: That means PCH is not really being used by most contrib plugins.
Tim S.