Determines whether warnings are issued for deprecated C++ headers.
Linux: | -Wdeprecated -Wno-deprecated |
Windows: | /Wdeprecated /Wno-deprecated |
None
Wdeprecated |
The compiler issues warnings for deprecated C++ headers. |
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.
None