Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 697 Bytes

compiler-error-c2858.md

File metadata and controls

15 lines (12 loc) · 697 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2858
Compiler Error C2858
06/01/2022
C2858
C2858
1fb1d770-307e-476e-9984-a1d8f8ce2820

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.