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
This commit is contained in:
Simon Ser 2019-11-17 17:16:13 +01:00
parent 8ffa3cf439
commit cb905effde

View File

@ -17,6 +17,7 @@ add_project_arguments(
'-Wno-unused-parameter', '-Wno-unused-parameter',
'-Wno-unused-result', '-Wno-unused-result',
'-Wno-missing-braces',
'-Wundef', '-Wundef',
'-Wvla', '-Wvla',
], ],