Remove some redundant options as suggested by Steve Chaplin in bug
authorMalcolm Tredinnick <malcolm@src.gnome.org>
Sun, 20 Jul 2003 13:31:29 +0000 (13:31 +0000)
committerMalcolm Tredinnick <malcolm@src.gnome.org>
Sun, 20 Jul 2003 13:31:29 +0000 (13:31 +0000)
* compiler-flags.m4: Remove some redundant options as suggested
by Steve Chaplin in bug #115475. The warnings list looks simpler
now, but is no less functional.

svn path=/trunk/; revision=3050

macros2/ChangeLog
macros2/compiler-flags.m4

index 91e3798..9c98398 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-20  Malcolm Tredinnick <malcolm@commsecure.com.au>
+
+       * compiler-flags.m4: Remove some redundant options as suggested
+       by Steve Chaplin in bug #115475. The warnings list looks simpler
+       now, but is no less functional.
+
 2003-07-15  Malcolm Tredinnick <malcolm@commsecure.com.au>
 
        * autogen.sh: Fix a typo when reporting "forbidden" m4 macros.
index 7d5fb18..d791d0e 100644 (file)
@@ -28,13 +28,13 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
        warning_flags=
        ;;
     minimum)
-       warning_flags="-Wall -Wunused"
+       warning_flags="-Wall"
        ;;
     yes)
-       warning_flags="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations"
+       warning_flags="-Wall -Wmissing-prototypes"
        ;;
     maximum|error)
-       warning_flags="-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
+       warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
        CFLAGS="$warning_flags $CFLAGS"
        for option in -Wno-sign-compare; do
                SAVE_CFLAGS="$CFLAGS"