From 6154bc04d9efabeefa286ab26fc2ffdcdb18a777 Mon Sep 17 00:00:00 2001 From: Alex Chernyakhovsky Date: Wed, 3 Aug 2022 19:33:16 -0400 Subject: [PATCH] Add -Wno-unused-parameter Work around protocolbuffers/protobuf#10357 by disabling -Wunused-parameter. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2a628d7..14eeda0 100644 --- a/configure.ac +++ b/configure.ac @@ -45,8 +45,10 @@ AC_ARG_ENABLE([compile-warnings], error) # remove -Wno-c++17-extensions once protocolbuffers/protobuf#9181 is # resolved + # remove -Wno-unused-parameter once + # protocolbuffers/protobuf#10357 is resolved WARNING_CXXFLAGS="-Wall -Werror -Wno-c++17-extensions" - PICKY_CXXFLAGS="-Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations" + PICKY_CXXFLAGS="-Wextra -pedantic -Wno-long-long -Weffc++ -Wmissing-declarations -Wno-unused-parameter" ;; distcheck) WARNING_CXXFLAGS="-Wall -Werror"