summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-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