Follow Us
Contribute
  • Register

Fatal Error C1854: cannot overwrite information formed during creation of the precompiled header in object file: (filename)

0 votes

You specified the /Yu (use precompiled header) option after specifying the /Yc (create precompiled header) option for the same file. Certain declarations (such as declarations including __declspec dllexport) make this invalid.


requested 1 year ago by errorbase (169,970 points)

3 Solutions

0 votes

This article is a derivative work based on http://msdn.microsoft.com/en-us/library/5a193hd8.aspx" title="http://msdn.microsoft.com/en-us/library/5a193hd8.aspx" target="_blank">Fatal Error C1854 which is provided by http://msdn.microsoft.com/en-us/library/60k1461a.aspx" title="http://msdn.microsoft.com/en-us/library/60k1461a.aspx" target="_blank">MSDN Community Content - Visual C++.

solved 1 year ago by errorbase (169,970 points)
0 votes

Write the solution section to improve the article.


solved 1 year ago by errorbase (169,970 points)
0 votes

solved 1 year ago by errorbase (169,970 points)

Related errors