diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-08-02 17:21:29 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-08-02 17:21:29 +1000 |
commit | dd352b675be9af7571ea04635435bf138732f931 (patch) | |
tree | 769bba2fef999b8ff8fec486ae8534c01fdccd7c /configure.ac | |
parent | 408585391520e7131d6b2dc73b8e17211c009568 (diff) |
- (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling
with gcc. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index df3712dcb..6e2f5c1f5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.280 2005/07/26 02:00:42 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.281 2005/08/02 07:21:29 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -81,7 +81,7 @@ AC_C_INLINE | |||
81 | AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>]) | 81 | AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>]) |
82 | 82 | ||
83 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 83 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
84 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" | 84 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" |
85 | CFLAGS="$CFLAGS -Wsign-compare" | 85 | CFLAGS="$CFLAGS -Wsign-compare" |
86 | 86 | ||
87 | if test -z "$have_llong_max"; then | 87 | if test -z "$have_llong_max"; then |