From 7637a113e3cb9ce1fb9e19ac1f790d551d2af1f9 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Tue, 26 Nov 2019 09:22:20 +0100 Subject: [PATCH] Compile with warning_level=2 by default --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ba19d7ee..78bcd1a8 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,10 @@ project('scrcpy', 'c', version: '1.11', meson_version: '>= 0.37', - default_options: 'c_std=c11') + default_options: [ + 'c_std=c11', + 'warning_level=2', + ]) if get_option('compile_app') subdir('app')