forked from enlightenment/efl
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:
parent
02f6e58f3e
commit
65c6b158f9
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue