diff options
author | Malcolm Tredinnick <malcolm@src.gnome.org> | 2003-07-20 13:31:29 +0000 |
---|---|---|
committer | Malcolm Tredinnick <malcolm@src.gnome.org> | 2003-07-20 13:31:29 +0000 |
commit | d085904377b24767b8fa61b4034ee4e9669044fc (patch) | |
tree | 3933fff8e879fd1c1818313b51f5e0417689f2df | |
parent | a2b6f0b248b362d3dbdda5837c557461185fb087 (diff) | |
download | shared-mime-info-d085904377b24767b8fa61b4034ee4e9669044fc.tar.gz |
Remove some redundant options as suggested by Steve Chaplin in bug
* 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
-rw-r--r-- | macros2/ChangeLog | 6 | ||||
-rw-r--r-- | macros2/compiler-flags.m4 | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 91e3798b..9c983982 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -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. diff --git a/macros2/compiler-flags.m4 b/macros2/compiler-flags.m4 index 7d5fb18e..d791d0e0 100644 --- a/macros2/compiler-flags.m4 +++ b/macros2/compiler-flags.m4 @@ -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" |