Developer Guide and Reference

Contents

C

Places comments in preprocessed source output.

Syntax

Linux:
-C
Windows:
/C
Arguments
None
Default
OFF
No comments are placed in preprocessed source output.
Description
This option places (or preserves) comments in preprocessed source output.
Comments following preprocessing directives, however, are not preserved.
IDE Equivalent
Visual Studio:
Preprocessor > Keep Comments
Eclipse:
None
Alternate Options
None
Example
The following commands cause the compiler to preserve comments in the prog1.i preprocessed file.
On Windows* systems:
icx /C /P prog1.cpp prog2.cpp ! specific to C++
dpcpp-cl /C /P prog1.cpp prog2.cpp ! specific to DPC++
On Linux* systems:
icpx -C -P prog1.cpp prog2.cpp ! specific to C++
dpcpp -C -P prog1.cpp prog2.cpp ! specific to DPC++

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.