summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-12-13 11:41:56 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-04-29 16:04:28 +0000
commitcf79ee15bd2e669d881f92bfd1a1ab1034615480 (patch)
tree56ab11019078de4f6788824cb2557ac5a27dbb7a /buildtools
parent99eb720338d9c7988dd6e8ba3db9ce072ba9536e (diff)
downloadsamba-cf79ee15bd2e669d881f92bfd1a1ab1034615480.tar.gz
wafsamba: Enable warnings for missing field initializer
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 98ffdfea458..f2b049e40a7 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -731,6 +731,7 @@ def SAMBA_CONFIG_H(conf, path=None):
conf.ADD_CFLAGS('-Wall', testflags=True)
conf.ADD_CFLAGS('-Wshadow', testflags=True)
conf.ADD_CFLAGS('-Wmissing-prototypes', testflags=True)
+ conf.ADD_CFLAGS('-Wmissing-field-initializers', testflags=True)
conf.ADD_CFLAGS('-Wcast-align -Wcast-qual', testflags=True)
conf.ADD_CFLAGS('-fno-common', testflags=True)