We recommend using Visual Studio 2017

Command-Line Warning D9043


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 Command-Line Warning D9043.

invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels

The following sample generates C9043.

// D9043.cpp  
// compile with: /analyze /w16001  
// D9043 warning expected  
int main() {}