mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
meson: add -Wformat
cc1: warning: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Wformat-security] Fixes #234
This commit is contained in:
parent
08543384f1
commit
979a81a70d
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ if cc.get_id() == 'gcc'
|
|||
'-Wsign-compare',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Wpointer-arith',
|
||||
'-Wformat',
|
||||
'-Wformat-security',
|
||||
'-Werror=suggest-attribute=format',
|
||||
'-Wmissing-braces',
|
||||
|
|
@ -68,6 +69,7 @@ if cc.get_id() == 'gcc'
|
|||
'-Wsign-compare',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Wpointer-arith',
|
||||
'-Wformat',
|
||||
'-Wformat-security',
|
||||
'-Werror=suggest-attribute=format',
|
||||
'-Wmissing-braces',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue