C

Places comments in preprocessed source output.

IDE Equivalent

Windows: Preprocessor > Keep Comments

Linux: None

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-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.

Alternate Options

None

Example

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* and Mac OS* X systems:

icpc -C -P prog1.cpp prog2.cpp

Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.