1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -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:
Quentin Glidic 2019-04-19 10:09:01 +02:00
parent a6605b6f4d
commit b4ab5e5c88
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7

View file

@ -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)