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.

Visible to Intel only — GUID: GUID-0F85D7F1-235B-4C26-84F3-A6F14A39D835

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