Fatal Error C1852
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Fatal Error C1852.
filename' is not a valid precompiled header file
The file is not a precompiled header.
To fix by checking the following possible causes
Invalid file specified with /Yu or #pragma hdrstop.
The compiler assumes a file extension of .pch if you do not specify otherwise.
Show: