Remove the -Wno-unused-parameter flag from the compile options now that it won't...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Sep 2007 15:58:43 +0000 (15:58 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Sep 2007 15:58:43 +0000 (15:58 +0000)
git-svn-id: http://svn.voria.com/code@632 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index e1fc1e6..6a87093 100644 (file)
@@ -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=''
index 2cc6ebe..7ac2264 100755 (executable)
@@ -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=''