From 674b6489a4b0d537db4bdd3060d9569116d11aa5 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 24 Mar 2023 19:07:51 -0700 Subject: [PATCH] configure: Suppress deprecated/uninitialized warnings in release mode. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 65313b363..848b0ef01 100644 --- a/configure.ac +++ b/configure.ac @@ -956,10 +956,13 @@ AM_COND_IF([DEBUG], ]) ], [ RB_MAYBE_CWARN([-Wno-unknown-pragmas], charybdis_cv_c_gcc_w_no_unknown_pragmas) + RB_MAYBE_CWARN([-Wno-deprecated-declarations], charybdis_cv_c_gcc_w_no_deprecated_declarations) + RB_MAYBE_CWARN([-Wno-deprecated], charybdis_cv_c_gcc_w_no_deprecated) AM_COND_IF([CLANG], [ RB_MAYBE_CWARN([-Wno-unknown-attributes], charybdis_cv_c_gcc_w_no_unknown_attributes) + RB_MAYBE_CWARN([-Wno-uninitialized], charybdis_cv_c_gcc_w_no_uninitialized) ]) AM_COND_IF([GCC],