git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99eb720
)
wafsamba: Enable warnings for missing field initializer
author
Andreas Schneider
<asn@samba.org>
Thu, 13 Dec 2018 10:41:56 +0000
(11:41 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 29 Apr 2019 16:04:28 +0000
(16:04 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index 98ffdfea4583155fbeb2565ddbd608a0de0bc601..f2b049e40a7b5b2d8a56acb09e7d57d2038962c7 100644
(file)
--- 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)