From a4c3a6be82be2b1a80c0af76a9e7f7c5e2c23ba2 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 5 Mar 2023 16:31:22 -0800 Subject: [PATCH] configure: Suppress -Wempty-body except in debug-mode (GCC). --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index bb162954d..65313b363 100644 --- a/configure.ac +++ b/configure.ac @@ -967,6 +967,7 @@ AM_COND_IF([DEBUG], RB_MAYBE_CWARN([-Wno-ignored-attributes], charybdis_cv_c_gcc_w_no_ignored_attributes) RB_MAYBE_CWARN([-Wno-attributes], charybdis_cv_c_gcc_w_no_attributes) RB_MAYBE_CWARN([-Wno-pragmas], charybdis_cv_c_gcc_w_no_pragmas) + RB_MAYBE_CWARN([-Wno-empty-body], charybdis_cv_c_gcc_w_no_empty_body) ]) ])