From: Volker Lendecke Date: Thu, 18 Nov 2004 15:44:01 +0000 (+0000) Subject: r3850: I get the impression that some developers here are using gcc 3.4. This one X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5573 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cd12794a3cb7c70e75ec4824d9bc88d2d3a0fcd;p=thirdparty%2Fsamba.git r3850: I get the impression that some developers here are using gcc 3.4. This one only warns you about possibly uninitialized variables if you have at least -O1. Volker --- diff --git a/source/configure.in b/source/configure.in index 170b3c0d1c3..7e97ed091ff 100644 --- a/source/configure.in +++ b/source/configure.in @@ -238,7 +238,7 @@ AC_ARG_ENABLE(debug, AC_ARG_ENABLE(developer, [ --enable-developer Turn on developer warnings and debugging (default=no)], [if eval "test x$enable_developer = xyes"; then developer=yes - CFLAGS="${CFLAGS} -gstabs -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" + CFLAGS="${CFLAGS} -gstabs -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -O1" fi]) AC_ARG_ENABLE(krb5developer, [ --enable-krb5developer Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)],