Reinstate the -Wno-unused-parameter flag, because when building a non-debug build...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 12 Sep 2007 00:24:18 +0000 (00:24 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 12 Sep 2007 00:24:18 +0000 (00:24 +0000)
git-svn-id: http://svn.voria.com/code@655 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/config/subs.m4
synfig-studio/trunk/config/subs.m4

index 6a87093..571ffd3 100644 (file)
@@ -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=''
index 7ac2264..7815530 100755 (executable)
@@ -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=''