diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-02-28 16:13:59 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-02-28 16:13:59 +0100 |
| commit | 45de0b59199fcba1417087e1b39e5e79c371d67b (patch) | |
| tree | e03108b4a06bc940d0a1f03a9b6696b2ca93e420 /meson.build | |
| parent | 08809c5eee87a3310e6bfda734d41ef9e914fc01 (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', ], |
