build: Remove -Wno-error=missing-field-initializers from Heimdal build
authorAndrew Bartlett <abartlet@samba.org>
Wed, 13 Sep 2023 20:02:50 +0000 (08:02 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Sep 2023 21:35:29 +0000 (21:35 +0000)
This allows this warning (error) to be used in Samba for cases where a
non-designated initialiser is under-specified.  We can do this now as
the GCC versions we build on do not regard foo = {} as an error.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
third_party/heimdal_build/wscript_configure

index f3695003085bfebfae481118e6efd73bc403b2ee..80a6bcf70fd5af52e83e9872a875a8411025eaae 100644 (file)
@@ -77,7 +77,6 @@ if conf.env['WITH_KERNEL_KEYRING'] is not False:
 
 heimdal_no_error_flags = ['-Wno-error=discarded-qualifiers',
                           '-Wno-error=cast-qual',
-                          '-Wno-error=missing-field-initializers',
                           '-Wno-error=shadow',
                           '-Wno-error=implicit-fallthrough',
                           '-Wno-error=enum-compare',