mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
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:
parent
8ffa3cf439
commit
cb905effde
|
@ -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',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue