/P - Create Preprocessor Output File (Windows CE 5.0)

Send Feedback

This option writes preprocessor output to a file with the same base name as the source file, but with the .I extension. It adds #line directives to the output file at the beginning and end of each included file and around lines removed by preprocessor directives that specify conditional compilation.

The preprocessed listing file is identical to the original source file, except that the compiler carries out all preprocessor directives, and performs macro expansions.

This option suppresses compilation; the compiler does not produce an .OBJ file, even if the /Fo - Rename Object File option is specified. The /P option also suppresses production of the alternate output files created by the /FA - Create Listing Files, /Fa - Rename Assembly-File Listing, or /Fm - Create Map File option.

The /P option is similar to the /E - Copy Preprocessor Output, and /EP - Copy Preprocessor Output options. Using /EP with /P suppresses placement of #line directives in the output file.

See Also

Compiler Options | /EP - Copy Preprocessor Output | /FA - Create Listing Files | /Fa - Rename Assembly-File Listing | /Fm - Create Map File | /Fo - Rename Object File

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.