This documentation is archived and is not being maintained.

Command-Line Warning D9032

Visual Studio 2008
'-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.

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++.