From 7060962c0a75c8abb7f525f06d71b780f98f4b28 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 7 Sep 2021 10:57:10 +0200 Subject: [PATCH] build,meson: ignore warnings for missing field initializers We would usually explicitly skip initializing fields that are going to be zero-ed anyway. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index c33f5fd7..0b731134 100644 --- a/meson.build +++ b/meson.build @@ -84,6 +84,8 @@ cc_args = cc.get_supported_arguments([ '-Wno-packed', # we use some floating point ids as unknown, so we want to compare with them '-Wno-float-equal', + # avoid warning if we're ignoring fields on purpose + '-Wno-missing-field-initializers', ]) # strict flags to use in debug builds