summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 07:59:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:10 -0500
commit8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f (patch)
tree712cf903b71e8a2037da46e0252c3eb48923c734 /source4/build/smb_build
parent75e967bd0e93a22375cd3bccee17204f2ea27bc2 (diff)
downloadsamba-8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f.tar.gz
samba-8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f.tar.bz2
samba-8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f.zip
r1905: add -Werror-implicit-function-declaration with --enable-developer
metze (This used to be commit 11495a42b97b62b1f54cfb98909e937d370fdd4a)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/check_path.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/check_path.m4 b/source4/build/smb_build/check_path.m4
index 8b97f17c46..f2d06e384a 100644
--- a/source4/build/smb_build/check_path.m4
+++ b/source4/build/smb_build/check_path.m4
@@ -127,7 +127,7 @@ developer=no
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} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
+ CFLAGS="${CFLAGS} -g -Wall -Wshadow -Werror-implicit-function-declaration -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)],