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

Wdeprecated

Determines whether warnings are issued for deprecated C++ headers.

Syntax

Linux:

-Wdeprecated

-Wno-deprecated

Windows:

/Wdeprecated

/Wno-deprecated

Arguments

None

Default

Wdeprecated

The compiler issues warnings for deprecated C++ headers.

Description

This option determines whether warnings are issued for deprecated C++ headers. It has no effect in C compilation mode.

Option Wdeprecated enables these warnings by defining the __DEPRECATED macro for preprocessor.

To disable warnings for deprecated C++ headers, specify Wno-deprecated.

IDE Equivalent

None

Alternate Options

None