mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
build: add -Wformat=2 -Walloca
This commit is contained in:
parent
cf5b09ede2
commit
4b43aebdc7
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ add_project_arguments(cc.get_supported_arguments([
|
|||
'-Wstrict-aliasing=2',
|
||||
'-Woverflow',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wformat=2',
|
||||
'-Walloca',
|
||||
|
||||
'-Wno-missing-braces',
|
||||
'-Wno-missing-field-initializers',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue