summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wehner <martin.wehner@gmail.com>2007-06-21 20:14:38 +0000
committerMartin Wehner <mwehner@src.gnome.org>2007-06-21 20:14:38 +0000
commit6edf2e5eadc80b698e814276cbcff6285f23e7ae (patch)
tree24e2852e75b3cfa168abe4b720cecb2e6b3da502
parent3cbc8aeb84c8c8ff6bbdb9507eba47a734983753 (diff)
downloadnautilus-6edf2e5eadc80b698e814276cbcff6285f23e7ae.tar.gz
Don't set both -Wsign-compare and -Wno-sign-compare. Don't set
2007-06-21 Martin Wehner <martin.wehner@gmail.com> * configure.in: Don't set both -Wsign-compare and -Wno-sign-compare. Don't set -Wchar-subscripts as it's included in -Wall. svn path=/trunk/; revision=12944
-rw-r--r--ChangeLog6
-rw-r--r--configure.in6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 865853efc..3d3ab2556 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-21 Martin Wehner <martin.wehner@gmail.com>
+
+ * configure.in:
+ Don't set both -Wsign-compare and -Wno-sign-compare.
+ Don't set -Wchar-subscripts as it's included in -Wall.
+
2007-06-20 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
diff --git a/configure.in b/configure.in
index b5ddabb51..08b90b639 100644
--- a/configure.in
+++ b/configure.in
@@ -350,12 +350,12 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
AC_MSG_RESULT(yes)
WARNING_CFLAGS="\
-Wall \
- -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
+ -Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
- -Wcast-align -Wsign-compare \
+ -Wcast-align \
-Werror"
- for option in -Wno-strict-aliasing -Wno-sign-compare -Wno-pointer-sign; do
+ for option in -Wno-strict-aliasing -Wno-pointer-sign; do
SAVE_CFLAGS="$WARNING_CFLAGS"
WARNING_CFLAGS="$WARNING_CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])