EDN Admin
Well-known member
<font size=1>
I have a static library project that uses "create precompiled headers" which builds fine in Debug configuration but when building in Release configuration I get a bunch of the following warnings:
warning C4727: PCH named crojectReleasefoo.pch with same timestamp found in crojectReleasefoo.obj and crojectReleasefoo.obj. Using first PCH.
This causes subsequent attempts to link with the library to fail. As far as I can tell the compiler settings are similar for both configurations.
Can anyone tell me why this happens in Release but not Debug?
Is there an alternative workaround to the one descibed here: <a title="http://msdn2.microsoft.com/en-us/library/ms235540.aspx http://msdn2.microsoft.com/en-us/library/ms235540.aspx http://msdn2.microsoft.com/en-us/library/ms235540.aspx ?
</font>
View the full article
I have a static library project that uses "create precompiled headers" which builds fine in Debug configuration but when building in Release configuration I get a bunch of the following warnings:
warning C4727: PCH named crojectReleasefoo.pch with same timestamp found in crojectReleasefoo.obj and crojectReleasefoo.obj. Using first PCH.
This causes subsequent attempts to link with the library to fail. As far as I can tell the compiler settings are similar for both configurations.
Can anyone tell me why this happens in Release but not Debug?
Is there an alternative workaround to the one descibed here: <a title="http://msdn2.microsoft.com/en-us/library/ms235540.aspx http://msdn2.microsoft.com/en-us/library/ms235540.aspx http://msdn2.microsoft.com/en-us/library/ms235540.aspx ?
</font>
View the full article