Visible to Intel only — GUID: GUID-7B866F8B-CBEC-4691-B763-419D025D4E7D
Visible to Intel only — GUID: GUID-7B866F8B-CBEC-4691-B763-419D025D4E7D
Wdeprecated
Determines whether warnings are issued for deprecated C++ headers.
Syntax
Linux: |
-Wdeprecated -Wno-deprecated |
macOS: |
-Wdeprecated -Wno-deprecated |
Windows: |
None |
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
Alternate Options
None