This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Advertisement