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' ],
default_options: [
'c_std=c99',
'warning_level=3',
],
)
@ -21,6 +20,7 @@ flags = [
'-Winline',
'-Wunreachable-code',
'-Werror=missing-prototypes',
'-Wno-inline', # A bit too noisy with Bison…
]
foreach f : flags
if c_compiler.has_argument(f)