r3850: I get the impression that some developers here are using gcc 3.4. This one
authorVolker Lendecke <vlendec@samba.org>
Thu, 18 Nov 2004 15:44:01 +0000 (15:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:20 +0000 (10:53 -0500)
only warns you about possibly uninitialized variables if you have at least
-O1.

Volker
(This used to be commit 7cd12794a3cb7c70e75ec4824d9bc88d2d3a0fcd)

source3/configure.in

index 170b3c0d1c3b812954c0fd284cf58755a6d858a1..7e97ed091ff019c696b054d11242abdea229f06b 100644 (file)
@@ -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)],