summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-07 21:58:45 +0200
committerZenWalker <[email protected]>2020-08-11 21:44:23 +0200
commit17d7c48aa4f19e3e824ebb5d6d65b0e69dfbe3a4 (patch)
treeb004574c2c0e6c0b8aad9930ad9aebf7a032f879
parentbf34caf8f3bb6716acccc64fc25513dc4203aaff (diff)
downloadmate-common-17d7c48aa4f19e3e824ebb5d6d65b0e69dfbe3a4.tar.bz2
mate-common-17d7c48aa4f19e3e824ebb5d6d65b0e69dfbe3a4.tar.xz
mate-compiler-flags: add -Wno-unused-parameter to maximum c++ warnings
-rw-r--r--macros/mate-compiler-flags.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/mate-compiler-flags.m4 b/macros/mate-compiler-flags.m4
index a21e9e3..5fbc5ed 100644
--- a/macros/mate-compiler-flags.m4
+++ b/macros/mate-compiler-flags.m4
@@ -110,7 +110,7 @@ AC_DEFUN([MATE_CXX_WARNINGS],[
warning_flags="-Wall -Woverloaded-virtual"
;;
maximum|error)
- warning_flags="-Wall -Woverloaded-virtual -Wextra -Wshadow -Wformat-nonliteral -Werror=format-security -Wpointer-arith -Wcast-align -Wmissing-declarations -Wredundant-decls"
+ warning_flags="-Wall -Woverloaded-virtual -Wextra -Wshadow -Wformat-nonliteral -Werror=format-security -Wno-unused-parameter -Wpointer-arith -Wcast-align -Wmissing-declarations -Wredundant-decls"
if test "$enable_compile_warnings" = "error" ; then
warning_flags="$warning_flags -Werror"
fi