From af40ca44b5495bb84f789b2cbda8e862ca8f37bf Mon Sep 17 00:00:00 2001 From: dtucker Date: Tue, 2 Aug 2005 07:21:29 +0000 Subject: [PATCH] - (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling with gcc. ok djm@ --- ChangeLog | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4f91666a..c7971608 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/configure.ac b/configure.ac index 69f83db1..ef6ff76d 100644 --- a/configure.ac +++ b/configure.ac @@ -81,7 +81,7 @@ AC_C_INLINE AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include ]) 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 -- 2.45.2