Muokkaa

Jaa


Fatal Error C1854

cannot overwrite information formed during creation of the precompiled header in object file: 'filename'

You specified the /Yu (Use Precompiled Header File) option after specifying the /Yc (Create Precompiled Header File) option for the same file.

To fix this issue, in general, set only one file in your project to be compiled by using the /Yc option, and set all other files to compile by using the /Yu option. For details on the use of the /Yc option, and how to set it in the Visual Studio IDE, see /Yc (Create Precompiled Header File). For more information on using precompiled headers, see Creating Precompiled Header Files.