/C - Preserve Comments During Preprocessing (Windows CE 5.0)
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
Send Feedback on this topic to the authors