Edit

Share via


Compiler Error C2858

command-line option '/Yc (/Fdfilename1)' inconsistent with precompiled header, which used '/Fdfilename2'

The program database specified by the Use Precompiled Header (/Yu) option is not the one specified by the previous Create Precompiled Header (/Yc) option.

This error is obsolete in Visual Studio 2022 and later versions.