- (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling

with gcc.  ok djm@
This commit is contained in:
Darren Tucker 2005-08-02 17:21:29 +10:00
parent 4085853915
commit dd352b675b
2 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,8 @@
- dtucker@cvs.openbsd.org 2005/07/27 10:39:03
[scp.c hostfile.c sftp-client.c]
Silence bogus -Wuninitialized warnings; ok djm@
- (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling
with gcc. ok djm@
20050726
- (dtucker) [configure.ac] Update zlib warning message too, pointed out by
@ -2885,4 +2887,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3858 2005/08/02 07:07:07 dtucker Exp $
$Id: ChangeLog,v 1.3859 2005/08/02 07:21:29 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.280 2005/07/26 02:00:42 dtucker Exp $
# $Id: configure.ac,v 1.281 2005/08/02 07:21:29 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -81,7 +81,7 @@ AC_C_INLINE
AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>])
if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized"
CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
CFLAGS="$CFLAGS -Wsign-compare"
if test -z "$have_llong_max"; then