Share via


Command-Line Warning D9042

invalid value 'value' for '/option'; assuming 'value'; Code Analysis warnings are not available in this edition of the compiler

A Code Analysis warning number was added to the /wd, /we, /wo, or /wl command line option and the /analyze command line option was specified on a platform that does not support Code Analysis. To remedy this warning, either switch to the x86 version of Visual Studio Team System, or remove the /analyze command line option.

Example

The following command line example generates the warning D9042 on an x64 or Itanium system:

cl /EHsc /LD /wd6001 /analyze filename.cpp

To remedy this warning, either switch to the x86 version of Visual Studio Team System, or remove the /analyze and /wd6001 command line options.

See Also

Reference

Compiler Options

Other Resources

Command-Line Errors D8000 Through D9999