mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-02 01:05:58 +01: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',
|
'-Wstrict-aliasing=2',
|
||||||
'-Woverflow',
|
'-Woverflow',
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
|
'-Wformat=2',
|
||||||
|
'-Walloca',
|
||||||
|
|
||||||
'-Wno-missing-braces',
|
'-Wno-missing-braces',
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
|
|
Loading…
Reference in a new issue