/C - Preserve Comments During Preprocessing (Windows CE 5.0)

Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.