diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-11-19 11:50:26 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-11-19 11:50:26 +0100 |
commit | ba80e5e40a8d8407d91595bde981ea2f2d64ef5a (patch) | |
tree | 9fcb4d4e70978788ad3e6725a4179718594ddbdb /configure.ac | |
parent | 6592ecb3b95146b84072cf276eb98fba324b11ad (diff) | |
download | gvfs-ba80e5e40a8d8407d91595bde981ea2f2d64ef5a.tar.gz |
Add -Wtype-limits
Without this we missed a really bad bug where write() return val was put
in an unsigned int.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e859fe38..a11c3f51 100644 --- a/configure.ac +++ b/configure.ac @@ -657,7 +657,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wcast-align -Wsign-compare \ $CFLAGS" - for option in -Wno-strict-aliasing -Wno-sign-compare; do + for option in -Wno-strict-aliasing -Wno-sign-compare -Wtype-limits; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option]) |