bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0a1ae11586b4bf2c6ed2267450f94cc466804f2f

commit 0a1ae11586b4bf2c6ed2267450f94cc466804f2f
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Mon Jan 10 05:37:12 2022 +0000

    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 <m...@marcel-hollerbach.de>
    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',

-- 


Reply via email to