description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Command-Line Warning D9041 |
Command-Line Warning D9041 |
11/04/2016 |
|
|
ada8815f-4246-4e25-b57d-a7f16fa107cc |
invalid value 'option-value' for '/option-name'; assuming 'assumed-value'; add '/analyze' to command-line options when specifying this warning
A Code Analysis warning number was added to the /wd
, /we
, /wo
, or /wl
command line option without also specifying the /analyze
command line option. To remedy this error, either add the /analyze
command line option, or remove the invalid warning number from the appropriate /w
command line option.
The following command line example generates the warning D9041:
cl /EHsc /LD /wd6001 filename.cpp
To fix the warning, add the /analyze
command line option. If /analyze
is not supported on your version of the compiler, remove the invalid warning number from the /wd
option.
Command-Line Errors D8000 Through D9999
MSVC Compiler Options