From: Andreas Schneider Date: Thu, 13 Dec 2018 10:41:56 +0000 (+0100) Subject: wafsamba: Enable warnings for missing field initializer X-Git-Tag: tdb-1.4.1~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf79ee15bd2e669d881f92bfd1a1ab1034615480;p=thirdparty%2Fsamba.git wafsamba: Enable warnings for missing field initializer Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme --- 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)