Add -Wno-unused-parameter
Work around protocolbuffers/protobuf#10357 by disabling -Wunused-parameter.
This commit is contained in:
committed by
Alex Chernyakhovsky
parent
0982212ca7
commit
6154bc04d9
+3
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user