Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

EP

Causes the preprocessor to send output to stdout, omitting #line directives.

Syntax

Linux:

-EP

Windows:

/EP

Arguments

None

Default

OFF

Preprocessed source files are output to the compiler.

Description

This option causes the preprocessor to send output to stdout, omitting #line directives.

If you also specify option P, the preprocessor will write the results (without #line directives) to a file instead of stdout.

IDE Equivalent

Visual Studio: Preprocessor > Preprocess Suppress Line Numbers

Eclipse: None

Alternate Options

None

Example

To preprocess to stdout omitting #line directives, enter the following command:

Linux

icpx -EP prog1.cpp prog2.cpp

Windows

icx /EP prog1.cpp prog2.cpp