From 0a1ae11586b4bf2c6ed2267450f94cc466804f2f Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 10 Jan 2022 05:37:12 +0000 Subject: [PATCH] build: use meson warning_level to pass -Wall to compiler meson has a builtin option to pass some warning flags to compiler. 'warning_level=1' passes -Wall Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D12315 --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 1f7c7b4ab5..0350e9e718 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('efl', ['c','cpp'], version: '1.26.99', - default_options : ['buildtype=plain', 'cpp_std=c++11'], + default_options : ['buildtype=plain', 'warning_level=1', 'cpp_std=c++11'], meson_version : '>=0.50' ) @@ -73,7 +73,6 @@ local_scripts = join_paths('src', 'scripts') dev_cflags = [] dev_cflags_try = [ '-fvisibility=hidden', - '-Wall', '-Wfloat-compare', '-Wpointer-arith', '-Wunused-parameter',