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

ID 767253
Date 3/22/2024
Public

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

Document Table of Contents

Wp

Passes options to the preprocessor.

Syntax

Linux:

-Wp,option1[,option2,...]

Windows:

None

Arguments

option

Is a preprocessor option. This option is not processed by the driver and is directly passed to the preprocessor.

Default

OFF

No options are passed to the preprocessor.

Description

This option passes one or more options to the preprocessor. If the preprocessor is not invoked, these options are ignored.

This option is equivalent to specifying option -Qoption,cpp, options.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

None

Alternate Options

None

See Also