build: Remove explicit '-Wall'
Use Meson's warning_level option, as it avoids a warning at
configuration time.
Emmanuele Bassi
1 year, 7 months ago
0 | project('gnome-logs', 'c', version : '43.beta') | |
0 | project('gnome-logs', 'c', version : '43.beta', default_options : ['warning_level=1']) | |
1 | 1 | |
2 | 2 | gl_name = meson.project_name() |
3 | 3 | gl_version = meson.project_version() |
12 | 12 | |
13 | 13 | # warning cflags |
14 | 14 | warning_cflags = [ |
15 | '-Wall', | |
16 | 15 | '-Wstrict-prototypes', |
17 | 16 | '-Wnested-externs', |
18 | 17 | '-Werror=missing-prototypes', |