Skip to content

Commit

Permalink
Add -Wno-unused-parameter
Browse files Browse the repository at this point in the history
Work around protocolbuffers/protobuf#10357 by disabling
-Wunused-parameter.
  • Loading branch information
achernya committed Aug 3, 2022
1 parent 0982212 commit 9ad76d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9ad76d0

Please sign in to comment.