Export (0) Print
Expand All

Command-Line Warning D9042

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

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.

Show:
© 2014 Microsoft