From f31ef484fd6c0faaa32d620b2b945a1c4512b097 Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Wed, 20 Oct 2021 10:35:05 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- m4macros/ax_cpp11.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4macros/ax_cpp11.m4 b/m4macros/ax_cpp11.m4 index 0b2b05cd58..86f3ec4359 100644 --- a/m4macros/ax_cpp11.m4 +++ b/m4macros/ax_cpp11.m4 @@ -229,7 +229,7 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do AC_MSG_CHECKING(noreturn support) feature="noreturn" - CPPFLAGS="-Werror -Wimplicit-fallthrough $CPPFLAGS" + CPPFLAGS="-Werror=implicit-fallthrough -Wimplicit-fallthrough $CPPFLAGS" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [#include