Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This option preserves comments during preprocessing with the /E - Copy Preprocessor Output, /EP - Copy Preprocessor Output, or /P - Create Preprocessor Output File options. If you do not specify the /C option, the preprocessor does not pass source-file comments to the associated output file. This option is valid only if the /E, /P, or /EP option is also used.
The following code example produces a listing named Sample.i. The listing file contains the original source file, including comments, with all preprocessor directives expanded or replaced.
CL /P /C SAMPLE.C
See Also
Compiler Options | /E - Copy Preprocessor Output | /EP - Copy Preprocessor Output | /P - Create Preprocessor Output File
Send Feedback on this topic to the authors