From 15b858285b84b756f55fb6f8ff4a01a6f6b91029 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 8 Sep 2007 15:58:43 +0000 Subject: [PATCH] Remove the -Wno-unused-parameter flag from the compile options now that it won't generate hundreds of warnings. git-svn-id: http://svn.voria.com/code@632 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/config/subs.m4 | 7 ++++--- synfig-studio/trunk/config/subs.m4 | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/synfig-core/trunk/config/subs.m4 b/synfig-core/trunk/config/subs.m4 index e1fc1e6..6a87093 100644 --- a/synfig-core/trunk/config/subs.m4 +++ b/synfig-core/trunk/config/subs.m4 @@ -16,11 +16,12 @@ AC_DEFUN([AC_ARG_WARNINGS], gtkmm_warning_flags='' + # -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 -Wno-unused-parameter';; - maximum) gtkmm_warning_flags='-W -Wall -Wno-unused-parameter';; - hardcore) gtkmm_warning_flags='-W -Wall -Werror -Wno-unused-parameter';; + minimum|yes) gtkmm_warning_flags='-Wall';; + maximum) gtkmm_warning_flags='-Wall -W';; + hardcore) gtkmm_warning_flags='-Wall -W -Werror';; esac gtkmm_use_flags='' diff --git a/synfig-studio/trunk/config/subs.m4 b/synfig-studio/trunk/config/subs.m4 index 2cc6ebe..7ac2264 100755 --- a/synfig-studio/trunk/config/subs.m4 +++ b/synfig-studio/trunk/config/subs.m4 @@ -16,11 +16,12 @@ AC_DEFUN([AC_ARG_WARNINGS], gtkmm_warning_flags='' + # -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 -Wno-unused-parameter';; - maximum) gtkmm_warning_flags='-W -Wall -Wno-unused-parameter';; - hardcore) gtkmm_warning_flags='-W -Wall -Werror -Wno-unused-parameter';; + minimum|yes) gtkmm_warning_flags='-Wall';; + maximum) gtkmm_warning_flags='-Wall -W';; + hardcore) gtkmm_warning_flags='-Wall -W -Werror';; esac gtkmm_use_flags='' -- 2.7.4