From cf79ee15bd2e669d881f92bfd1a1ab1034615480 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 13 Dec 2018 11:41:56 +0100 Subject: [PATCH] wafsamba: Enable warnings for missing field initializer Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme --- buildtools/wafsamba/samba_autoconf.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.3