summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-08 15:04:33 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-08 06:12:07 +0100
commitb352ecb1cf3bfb92cf8a2479a3ebe4d80ee2de60 (patch)
tree0156e28f43c5ec3bdf09754c1575b60d3d600a45
parentbe99d84972de8fd64c90aea3be4e0f06dd060065 (diff)
downloadsamba-b352ecb1cf3bfb92cf8a2479a3ebe4d80ee2de60.tar.gz
samba-b352ecb1cf3bfb92cf8a2479a3ebe4d80ee2de60.tar.bz2
samba-b352ecb1cf3bfb92cf8a2479a3ebe4d80ee2de60.zip
waf: added -Wmissing-prototypes to build
This ensures that we always have a prototype for any function we declare Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 06:12:07 CET 2010 on sn-devel-104
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 03031a7c78..b6d0b358d6 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -587,7 +587,7 @@ def SAMBA_CONFIG_H(conf, path=None):
if Options.options.developer:
# we add these here to ensure that -Wstrict-prototypes is not set during configure
- conf.ADD_CFLAGS('-Wall -g -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k',
+ conf.ADD_CFLAGS('-Wall -g -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k -Wmissing-prototypes',
testflags=True)
conf.env.DEVELOPER_MODE = True