aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2019-11-17 17:16:13 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2019-11-17 17:21:13 +0100
commitcb905effde03b19b3e32aaf6ea1fee1ed82c9f33 (patch)
tree00f2a6d029765188785f4df9e3f63948cce3519e /meson.build
parentgrimshot: fix branching on command exit status (diff)
downloadsway-cb905effde03b19b3e32aaf6ea1fee1ed82c9f33.tar.gz
sway-cb905effde03b19b3e32aaf6ea1fee1ed82c9f33.tar.zst
sway-cb905effde03b19b3e32aaf6ea1fee1ed82c9f33.zip
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
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
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(
17 17
18 '-Wno-unused-parameter', 18 '-Wno-unused-parameter',
19 '-Wno-unused-result', 19 '-Wno-unused-result',
20 '-Wno-missing-braces',
20 '-Wundef', 21 '-Wundef',
21 '-Wvla', 22 '-Wvla',
22 ], 23 ],