build,meson: ignore warnings for missing field initializers

We would usually explicitly skip initializing fields that are going to
be zero-ed anyway.
This commit is contained in:
Aleksander Morgado
2021-09-07 10:55:43 +00:00
parent 2c8cab3670
commit 7060962c0a
+2
View File
@@ -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