discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=65c6b158f928d25bdd9f3dfe2e90e335016982fa

commit 65c6b158f928d25bdd9f3dfe2e90e335016982fa
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Mon Aug 13 11:12:44 2018 -0400

    efl-cxx: Add -Wno-shadow to disable huge warnings in C++
    
    Summary:
    -Wno-shadow warnings disable a improper warning directive for C++, this is 
made because
    it is common for people to use the same CFLAGS as CXXFLAGS, enabling, 
unadvertadly, the
    smae warning for C and C++.
    
    Reviewers: zmike
    
    Reviewed By: zmike
    
    Subscribers: cedric, #reviewers, #committers, zmike
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6821
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 64ef40a779..aef7129967 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,7 @@ AM_CONDITIONAL([HAVE_AM_16], [test $(echo 
"${am__api_version}"|cut -d. -f2) -ge
 AC_USE_SYSTEM_EXTENSIONS
 
 CFOPT_WARNING=""
+CXXFLAGS="${CXXFLAGS} -Wno-shadow" # No shadow warnings
 
 #### Apply configuring with legacy api's only, eo api's or both.
 

-- 


Reply via email to