Command-Line Warning D9032

Error Message

'-doc' : XML documentation comments are not supported by the C compiler

XML documentation is supported for C++ files but not for C files. To remedy this warning, remove the /doc command line option or compile the file as a C++ file.

Example

The following command line example generates warning D9032:

cl /doc filename.c

To fix the warning in the above code example, either remove the /doc command line option, rename the file to filename.cpp and compile it as a C++ file, or include the /TP or /Tp command line option to force the file to be compiled as C++.

See Also

Reference

Compiler Options

Other Resources

Command-Line Errors D8000 Through D9999