From 42ee2fcdfc5c5af7890ec1308c798a736c22a91a Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sat, 29 Jan 2022 20:58:47 -0500 Subject: [PATCH] Disable clang warning for c++17-extensions This warning is being triggered by code in the protobuf library. See issue 9181 at https://github.com/protocolbuffers/protobuf for more information Signed-off-by: Wolfgang E. Sanyer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d4cb1f332..297e2d807 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ AC_ARG_ENABLE([compile-warnings], PICKY_CXXFLAGS="-Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations" ;; error) - WARNING_CXXFLAGS="-Wall -Werror" + WARNING_CXXFLAGS="-Wall -Werror -Wno-c++17-extensions" PICKY_CXXFLAGS="-Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations" ;; distcheck)