From 03c59ee4d600ee9aa075710889b5a94fdafb353a Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 12 Sep 2007 00:24:18 +0000 Subject: [PATCH] Reinstate the -Wno-unused-parameter flag, because when building a non-debug build, the 'assert()'s don't get compiled, leading to a whole lot of warnings about an unused parameter in value.h. git-svn-id: http://svn.voria.com/code@655 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/config/subs.m4 | 6 +++--- synfig-studio/trunk/config/subs.m4 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/synfig-core/trunk/config/subs.m4 b/synfig-core/trunk/config/subs.m4 index 6a87093..571ffd3 100644 --- a/synfig-core/trunk/config/subs.m4 +++ b/synfig-core/trunk/config/subs.m4 @@ -19,9 +19,9 @@ AC_DEFUN([AC_ARG_WARNINGS], # -W is now known as -Wextra, but that's not known by gcc 2 or 3 case "$gtkmm_enable_warnings" in none|no) gtkmm_warning_flags='';; - minimum|yes) gtkmm_warning_flags='-Wall';; - maximum) gtkmm_warning_flags='-Wall -W';; - hardcore) gtkmm_warning_flags='-Wall -W -Werror';; + minimum|yes) gtkmm_warning_flags='-Wall -Wno-unused-parameter';; + maximum) gtkmm_warning_flags='-W -Wall -Wno-unused-parameter';; + hardcore) gtkmm_warning_flags='-W -Wall -Werror -Wno-unused-parameter';; esac gtkmm_use_flags='' diff --git a/synfig-studio/trunk/config/subs.m4 b/synfig-studio/trunk/config/subs.m4 index 7ac2264..7815530 100755 --- a/synfig-studio/trunk/config/subs.m4 +++ b/synfig-studio/trunk/config/subs.m4 @@ -19,9 +19,9 @@ AC_DEFUN([AC_ARG_WARNINGS], # -W is now known as -Wextra, but that's not known by gcc 2 or 3 case "$gtkmm_enable_warnings" in none|no) gtkmm_warning_flags='';; - minimum|yes) gtkmm_warning_flags='-Wall';; - maximum) gtkmm_warning_flags='-Wall -W';; - hardcore) gtkmm_warning_flags='-Wall -W -Werror';; + minimum|yes) gtkmm_warning_flags='-Wall -Wno-unused-parameter';; + maximum) gtkmm_warning_flags='-W -Wall -Wno-unused-parameter';; + hardcore) gtkmm_warning_flags='-W -Wall -Werror -Wno-unused-parameter';; esac gtkmm_use_flags='' -- 2.7.4