Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 747 Bytes

compiler-warning-level-1-c4651.md

File metadata and controls

17 lines (13 loc) · 747 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4651
Compiler Warning (level 1) C4651
11/04/2016
C4651
C4651
f1ea82aa-4dc1-4972-b55a-57fdb962f0dd

Compiler Warning (level 1) C4651

'definition' specified for precompiled header but not for current compile

The definition was specified when the precompiled header was generated, but not in this compilation.

The definition will be in effect inside the precompiled header, but not in the rest of the code.

If a precompiled header was built with /DSYMBOL, the compiler will generate this warning if the /Yu compile doesn't have /DSYMBOL. Adding /DSYMBOL to the /Yu command line resolves this warning.