wafsamba: Add compiler check for missing field initializer check
authorChristof Schmitt <cs@samba.org>
Mon, 29 Apr 2019 20:07:08 +0000 (13:07 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 30 Apr 2019 17:34:21 +0000 (17:34 +0000)
commit09962c1b7e37a9b3c02fa88e1253bee3b206ac19
treed0531338dd25835ff98dee740a4d5b2b26673c12
parentd88f1c82b2fa682ca3ed0256b4728f7e1b6999fc
wafsamba: Add compiler check for missing field initializer check

The commit cf79ee15

    wafsamba: Enable warnings for missing field initializer

enabled a compiler check for warnings about missing initializers for all
developer builds. This fails with older compilers, e.g. gcc on RHEL7.
Add a waf check around adding the compiler option to avoid the failure
with older compilers.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/samba_autoconf.py