diff options
author | Max Kellermann <max@musicpd.org> | 2020-05-27 15:36:49 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-05-27 15:57:13 +0200 |
commit | 5cb0080052856d988aa63922398f242ce6873a69 (patch) | |
tree | 296158a955ea84982f516113921512a665562b46 /meson.build | |
parent | 8e4ca2372763929841c45acefc50c4c7356b9228 (diff) |
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).
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index ab28340a6..fae9c488a 100644 --- a/meson.build +++ b/meson.build @@ -5,7 +5,8 @@ project( meson_version: '>= 0.49.0', default_options: [ 'c_std=c99', - 'cpp_std=c++14' + 'cpp_std=c++14', + 'warning_level=2', ], license: 'GPLv2+', ) |