From: Andrew Bartlett Date: Wed, 13 Sep 2023 20:02:50 +0000 (+1200) Subject: build: Remove -Wno-error=missing-field-initializers from Heimdal build X-Git-Tag: tevent-0.16.0~555 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e659702b09de0d14498a8cb515447be905bc2a4;p=thirdparty%2Fsamba.git build: Remove -Wno-error=missing-field-initializers from Heimdal build 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 Reviewed-by: Stefan Metzmacher --- diff --git a/third_party/heimdal_build/wscript_configure b/third_party/heimdal_build/wscript_configure index f3695003085..80a6bcf70fd 100644 --- a/third_party/heimdal_build/wscript_configure +++ b/third_party/heimdal_build/wscript_configure @@ -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',