Option Type | Default Value | #pragma options | C | C++ |
-flag | - | - | x | x |
Syntax
-C
Purpose
Preserves comments in preprocessed output.
Notes
The -C option has no effect without either the -E
or the -P option. With the -E option, comments
are written to standard output. With the -P option, comments are written
to an output file.
Example
To compile myprogram.c to produce a file myprogram.i that contains the preprocessed
program text including comments, enter:
xlC myprogram.c -P -C
List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Output
Equivalent Batch Compile-Link and Incremental
Build Options