Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-BDBD9D5D-952B-4965-83DA-AC8F586A2862
Visible to Intel only — GUID: GUID-BDBD9D5D-952B-4965-83DA-AC8F586A2862
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.
Linux
icpx -C -P prog1.cpp prog2.cpp
Windows
icx /C /P prog1.cpp prog2.cpp