Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

EP

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

Syntax

Linux:

-EP

macOS:

-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 or Linux* option F, 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

Xcode: None

Alternate Options

None

Example

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

On Windows* systems:

icl /EP prog1.cpp prog2.cpp

On Linux* and macOS systems:

icpc -EP prog1.cpp prog2.cpp