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
This commit is contained in:
Felipe Magno de Almeida 2018-08-13 11:12:44 -04:00 committed by Mike Blumenkrantz
parent 02f6e58f3e
commit 65c6b158f9
1 changed files with 1 additions and 0 deletions

View File

@ -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.