Option Type | Default Value | #pragma options | C | C++ |
-flag | - | - | 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 Compiler Options and Their
Defaults
Options that Specify Compiler Output