From cb905effde03b19b3e32aaf6ea1fee1ed82c9f33 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 17 Nov 2019 17:16:13 +0100 Subject: [PATCH] Add -Wno-missing-braces -Wmissing-braces makes it annoying to zero-initialize structs with = {0} when the first field is a struct. See for instance [1]. [1]: https://builds.sr.ht/~sircmpwn/job/110425 --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index d74861f1..160c921f 100644 --- a/meson.build +++ b/meson.build @@ -17,6 +17,7 @@ add_project_arguments( '-Wno-unused-parameter', '-Wno-unused-result', + '-Wno-missing-braces', '-Wundef', '-Wvla', ],