aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-08-12 21:37:50 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-08-13 12:10:42 -0300
commitd32364605c9f96287e8506a4a1f6df9c7107b556 (patch)
treeb45b086ed926e663c61bbe5dea6aab9b4248ae6a
parentElementary test : add a checkbox to hide beta apis. (diff)
downloadefl-d32364605c9f96287e8506a4a1f6df9c7107b556.tar.gz
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++. Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6821
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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.