From 5cb0080052856d988aa63922398f242ce6873a69 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 27 May 2020 15:36:49 +0200 Subject: [PATCH] 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). --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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+', )