| Syntax: | Default: |
| /Pe[+|-] | /P- |
Use /Pe to run the preprocessor only, and suppress generation of #line directives in the preprocessor output. The output file has the same name as the source file, with the extension .i.
Specify /Pe- to run the preprocessor only, and generate #line directives in the preprocessor output. The output file has the same name as the source file, with the extension .i. /Pe- is equivalent to /P[+].
By default, both the compiler and preprocessor run, and no preprocessor output is generated.
/P, /Pc, /Pd, and /Pe can be used in combination with each other. For example, specify /Pcde to preserve comments, suppress line directives, and redirect the preprocessor output to stdout.
![]()
#line Preprocessor
Directive
Summary of Compiler Options