CARM User's Guide

Discontinued

PREPRINTONLY Compiler Directive

Abbreviation

PPO

Arguments

An optional filename enclosed in parentheses.

Default

No preprocessor listing is generated.

µVision

Options — CA — Misc Controls.

Description

The PREPRINTONLY directive causes the compiler to produce a preprocessor listing file and halt further processing. Macro calls are expanded and comments are deleted but no object file is created.

If no argument is specified for PREPRINTONLY, the preprocessor listing file is named basename.I where basename is the name of the source file.

If an argument is specified for PREPRINTONLY, the preprocessor listing file is created with that name.

By default, the compiler does not create a preprocessor listing file.

Note

  • The PREPRINTONLY directive may be specified only on the command line. It may not be specified in the C source file using the #pragma directive.
See Also

PREPRINT

Example
CA SAMPLE.C PREPRINTONLY

CA SAMPLE.C PPO (PREPRO.LST)