Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 11/07/2023
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

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

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