Command-Line Error D8004

'/option' requires an argument

A command line option that requires an argument was not passed one. To remedy the error, specify an appropriate argument for the option.

Example

The following command line example generates error D8004:

cl /FU /LD filename.cpp

To fix the error in the above code example, try cl /FU System.Data.dll /LD filename.cpp.

See Also

Reference

Compiler Options

Other Resources

Command-Line Errors D8000 Through D9999