Intel® C++ Compiler 16.0 User and Reference Guide
Places comments in preprocessed source output.
Linux and OS X: | -C |
Windows: | /C |
None
OFF |
No comments are placed in preprocessed source output. |
This option places (or preserves) comments in preprocessed source output.
Comments following preprocessing directives, however, are not preserved.
Visual Studio: Preprocessor > Keep Comments
Eclipse: None
Xcode: None
None
The following commands cause the compiler to preserve comments in the prog1.i preprocessed file.
On Windows* systems:
icl /C /P prog1.cpp prog2.cpp
On Linux* systems:
icpc -C -P prog1.cpp prog2.cpp
On OS X* systems:
icpc -C -P prog1.cpp prog2.cpp // with EDG compiler
icl++ -C -P prog1.cpp prog2.cpp // with CLANG compiler