Compiler Warning (level 1) C4652

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Warning (level 1) C4652.

compiler option 'option' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header

The given command-line option differed from that given when the precompiled header (.pch) was created. The option specified in the current command line was used.

This warning can be avoided by regenerating the precompiled header with the given command-line option.

Show: