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 | |
parent | 408585391520e7131d6b2dc73b8e17211c009568 (diff) |
- (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling
with gcc. ok djm@
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -3,6 +3,8 @@ | |||
3 | - dtucker@cvs.openbsd.org 2005/07/27 10:39:03 | 3 | - dtucker@cvs.openbsd.org 2005/07/27 10:39:03 |
4 | [scp.c hostfile.c sftp-client.c] | 4 | [scp.c hostfile.c sftp-client.c] |
5 | Silence bogus -Wuninitialized warnings; ok djm@ | 5 | Silence bogus -Wuninitialized warnings; ok djm@ |
6 | - (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling | ||
7 | with gcc. ok djm@ | ||
6 | 8 | ||
7 | 20050726 | 9 | 20050726 |
8 | - (dtucker) [configure.ac] Update zlib warning message too, pointed out by | 10 | - (dtucker) [configure.ac] Update zlib warning message too, pointed out by |
@@ -2885,4 +2887,4 @@ | |||
2885 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 2887 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
2886 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 2888 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
2887 | 2889 | ||
2888 | $Id: ChangeLog,v 1.3858 2005/08/02 07:07:07 dtucker Exp $ | 2890 | $Id: ChangeLog,v 1.3859 2005/08/02 07:21:29 dtucker Exp $ |
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 |