Warning C4727 in Release build but not Debug

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<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 c:projectReleasefoo.pch with same timestamp found in c:projectReleasefoo.obj and c:projectReleasefoo.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
 
Back
Top