mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
meson: Lower default warning level
It makes it easier for us to find real issues. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
a6605b6f4d
commit
b4ab5e5c88
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,6 @@ project('rofi', 'c',
|
||||||
license: [ 'MIT' ],
|
license: [ 'MIT' ],
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=c99',
|
'c_std=c99',
|
||||||
'warning_level=3',
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -21,6 +20,7 @@ flags = [
|
||||||
'-Winline',
|
'-Winline',
|
||||||
'-Wunreachable-code',
|
'-Wunreachable-code',
|
||||||
'-Werror=missing-prototypes',
|
'-Werror=missing-prototypes',
|
||||||
|
'-Wno-inline', # A bit too noisy with Bison…
|
||||||
]
|
]
|
||||||
foreach f : flags
|
foreach f : flags
|
||||||
if c_compiler.has_argument(f)
|
if c_compiler.has_argument(f)
|
||||||
|
|
Loading…
Reference in a new issue