summaryrefslogtreecommitdiffstats
path: root/m4macros
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2021-10-20 12:35:05 +0200
committerRazvan Becheriu <razvan@isc.org>2021-10-20 12:35:05 +0200
commitf31ef484fd6c0faaa32d620b2b945a1c4512b097 (patch)
tree92e9c387d1b08d0462b76bcd28b477d0a9f79598 /m4macros
parent[#2128] fixed flags leak (diff)
downloadkea-f31ef484fd6c0faaa32d620b2b945a1c4512b097.tar.xz
kea-f31ef484fd6c0faaa32d620b2b945a1c4512b097.zip
Apply 1 suggestion(s) to 1 file(s)
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/ax_cpp11.m42
1 files changed, 1 insertions, 1 deletions
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 <cstdlib>