Skip to content

gcc_nowarn_deprecated_decl

Tsukasa OI edited this page Oct 30, 2022 · 4 revisions

GCC: Define macro to disable -Wdeprecated-declarations

Feature Summary

A macro to disable -Wdeprecated-declarations warning option, DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS is available but only on Clang.

Because this warning option is available on GCC (3.4.0 or later) so we define this macro also for GCC.

Clone this wiki locally