meson.build: default to warning_level=2

This branch isn't yet ready for level 3 (`-Wpedantic`) due to several
C++ violations (e.g. variable length arrays).  These are already
cleaned up in the master branch (0.22).
This commit is contained in:
Max Kellermann 2020-05-27 15:36:49 +02:00
parent 8e4ca23727
commit 5cb0080052

View File

@ -5,7 +5,8 @@ project(
meson_version: '>= 0.49.0', meson_version: '>= 0.49.0',
default_options: [ default_options: [
'c_std=c99', 'c_std=c99',
'cpp_std=c++14' 'cpp_std=c++14',
'warning_level=2',
], ],
license: 'GPLv2+', license: 'GPLv2+',
) )