diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-28 16:13:59 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-04-14 18:34:54 +0200 |
commit | bd58df61efbb86cd43682acfd7cde8085b503590 (patch) | |
tree | e03108b4a06bc940d0a1f03a9b6696b2ca93e420 /meson.build | |
parent | aab4c9da5fb4138ca5f07df8bd8b698d02242a62 (diff) |
pango: add printf attribute
This allows the compiler to catch mismatches between the format
string and the arguments passed in.
Need to add -Wno-format-zero-length because we pass an empty string
on purpose in swaybar/render.c.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d1fbfa38..559ee962 100644 --- a/meson.build +++ b/meson.build @@ -18,6 +18,7 @@ add_project_arguments( '-Wno-unused-parameter', '-Wno-unused-result', '-Wno-missing-braces', + '-Wno-format-zero-length', '-Wundef', '-Wvla', ], |