C

Applies to C Applies to C++

Purpose

Preserves comments in preprocessed output.

Syntax


Syntax Diagram

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

Related References

Compiler Command Line Options
E
P IBM Copyright 2003