mirror of
https://github.com/swaywm/sway.git
synced 2025-10-28 05:40:16 -04:00
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.
This commit is contained in:
parent
aab4c9da5f
commit
bd58df61ef
2 changed files with 4 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ add_project_arguments(
|
|||
'-Wno-unused-parameter',
|
||||
'-Wno-unused-result',
|
||||
'-Wno-missing-braces',
|
||||
'-Wno-format-zero-length',
|
||||
'-Wundef',
|
||||
'-Wvla',
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue