Keil Logo

PREPRINTONLY Compiler Directive

Abbreviation

PPO

Arguments

An optional filename enclosed in parentheses.

Default

No preprocessor listing is generated.

µVision

Options — C251 — 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
C251 SAMPLE.C PREPRINTONLY

C251 SAMPLE.C PPO (PREPRO.LST)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.