summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-26 12:31:17 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-26 12:31:17 +0000
commit20d0bb23103b219d96aa0ae73136521022f48762 (patch)
tree0f5856f0408fcb3112b943dcc8df6795b353603a /source3
parentca80787248bfe7fe8dff12486ba32520f6910341 (diff)
downloadsamba-20d0bb23103b219d96aa0ae73136521022f48762.tar.gz
samba-20d0bb23103b219d96aa0ae73136521022f48762.tar.bz2
samba-20d0bb23103b219d96aa0ae73136521022f48762.zip
Add -Wwrite-strings to our --enable-developer settings.
We have compiled relitivly 'clean' with this setting since I did a massive cleanup last month. This should help us stay that way. Andrew Bartlett (This used to be commit 284479bf388f5e39d9be78eeb1ac6cdd001fb8df)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index e3b5f2fe15..269d70c2fc 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -205,12 +205,12 @@ 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
- CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
+ CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
fi])
AC_ARG_ENABLE(krb5developer, [ --enable-krb5developer Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)],
[if eval "test x$enable_krb5developer = xyes"; then
- CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
+ CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
fi])
AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc Enable heap debugging [default=no]])