Edit

Share via


Fatal Error C1382

the PCH file 'file' has been rebuilt since 'obj' was generated. Please rebuild this object

When using /LTCG, the compiler detected a .pch file that is newer than a CIL .obj that points to it. The information in the CIL .obj file is out of date. Rebuild the object.

C1382 can also occur if you compile with /Yc, but also pass multiple source code files to the compiler. To resolve, do not use /Yc when passing multiple source code files to the compiler. For more information, see /Yc (Create Precompiled Header File).