felipealmeida pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=97cf6d0efb1a8a8c7cef5d984f6d23c1470af4cf
commit 97cf6d0efb1a8a8c7cef5d984f6d23c1470af4cf Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br> Date: Thu Aug 7 11:31:08 2014 +0200 eina-cxx: Added test for inheriting constructors in the C++11 compiler This adds the inheriting constructor feature test to the m4 macros to avoid compilation of the C++11 binding in constructors without this features, where they would unavoidably fail compilation. This eliminates GCC 4.7.x since inheriting constructors were available only from GCC 4.8 and forward. --- m4/efl_stdcxx_11.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/efl_stdcxx_11.m4 b/m4/efl_stdcxx_11.m4 index cdd3934..f606bc0 100644 --- a/m4/efl_stdcxx_11.m4 +++ b/m4/efl_stdcxx_11.m4 @@ -51,6 +51,9 @@ m4_define([_EFL_CXX_COMPILE_STDCXX_11_testbody], [ check_type c; check_type&& cr = static_cast<check_type&&>(c); + struct A { A(int); }; + struct B : A { using A::A; }; // inheriting constructors + auto d = a; ]) --