In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: In file included from /usr/include/cppunit/TestCaller.h:5: In file included from /usr/include/cppunit/TestCase.h:6: In file included from /usr/include/cppunit/TestAssert.h:8: In file included from /usr/include/cppunit/tools/StringHelper.h:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/type_traits:35: /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/c++0x_warning.h:32:2: error: This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: In file included from /usr/include/cppunit/TestCaller.h:5: In file included from /usr/include/cppunit/TestCase.h:6: In file included from /usr/include/cppunit/TestAssert.h:8: /usr/include/cppunit/tools/StringHelper.h:22:10: error: no template named 'enable_if' in namespace 'std'; did you mean '__gnu_cxx::__enable_if'? typename std::enable_if::value, std::string>::type toString(const T& x) ^~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/ext/type_traits.h:45:12: note: '__gnu_cxx::__enable_if' declared here struct __enable_if ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: In file included from /usr/include/cppunit/TestCaller.h:5: In file included from /usr/include/cppunit/TestCase.h:6: In file included from /usr/include/cppunit/TestAssert.h:8: /usr/include/cppunit/tools/StringHelper.h:22:39: error: 'T' does not refer to a value typename std::enable_if::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:21:19: note: declared here template ^ /usr/include/cppunit/tools/StringHelper.h:22:31: error: no member named 'is_enum' in namespace 'std'; did you mean 'isalnum'? typename std::enable_if::value, std::string>::type toString(const T& x) ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/cctype:64:11: note: 'isalnum' declared here using ::isalnum; ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: In file included from /usr/include/cppunit/TestCaller.h:5: In file included from /usr/include/cppunit/TestCase.h:6: In file included from /usr/include/cppunit/TestAssert.h:8: /usr/include/cppunit/tools/StringHelper.h:22:43: error: definition or redeclaration of 'value' cannot name the global scope typename std::enable_if::value, std::string>::type toString(const T& x) ~~^ /usr/include/cppunit/tools/StringHelper.h:22:43: error: no member named 'value' in the global namespace typename std::enable_if::value, std::string>::type toString(const T& x) ~~^ /usr/include/cppunit/tools/StringHelper.h:22:48: error: a template declaration can only declare a single entity typename std::enable_if::value, std::string>::type toString(const T& x) ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: In file included from /usr/include/cppunit/TestCaller.h:5: In file included from /usr/include/cppunit/TestCase.h:6: /usr/include/cppunit/TestAssert.h:74:16: error: no member named 'toString' in namespace 'CppUnit::StringHelper'; did you mean simply 'toString'? return CPPUNIT_NS::StringHelper::toString(x); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cppunit/Portability.h:107:21: note: expanded from macro 'CPPUNIT_NS' # define CPPUNIT_NS CppUnit ^ /usr/include/cppunit/TestAssert.h:72:24: note: 'toString' declared here static std::string toString( const T& x ) ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: /usr/include/cppunit/TestCaller.h:159:37: error: no type named 'function' in namespace 'std' TestCaller(std::string name, std::function test_function, Fixture* fixture): ~~~~~^ /usr/include/cppunit/TestCaller.h:159:45: error: expected ')' TestCaller(std::string name, std::function test_function, Fixture* fixture): ^ /usr/include/cppunit/TestCaller.h:159:13: note: to match this '(' TestCaller(std::string name, std::function test_function, Fixture* fixture): ^ /usr/include/cppunit/TestCaller.h:200:8: error: no type named 'function' in namespace 'std' std::function m_test_function; ~~~~~^ /usr/include/cppunit/TestCaller.h:200:16: error: expected member name or ';' after declaration specifiers std::function m_test_function; ~~~~~~~~~~~~~^ /usr/include/cppunit/TestCaller.h:121:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? m_test_function( std::bind(test, m_fixture) ) ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/streambuf_iterator.h:369:5: note: 'find' declared here find(istreambuf_iterator<_CharT> __first, ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: /usr/include/cppunit/TestCaller.h:121:6: error: member initializer 'm_test_function' does not name a non-static data member or base class m_test_function( std::bind(test, m_fixture) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:138:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? m_test_function( std::bind(test, &fixture) ) ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/streambuf_iterator.h:369:5: note: 'find' declared here find(istreambuf_iterator<_CharT> __first, ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: /usr/include/cppunit/TestCaller.h:138:6: error: member initializer 'm_test_function' does not name a non-static data member or base class m_test_function( std::bind(test, &fixture) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:155:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? m_test_function( std::bind(test, fixture) ) ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/streambuf_iterator.h:369:5: note: 'find' declared here find(istreambuf_iterator<_CharT> __first, ^ In file included from /data/runtests/work/sources/syncevolution/test/client-test-main.cpp:30: In file included from /data/runtests/work/sources/syncevolution/test/test.h:45: In file included from /usr/include/cppunit/extensions/HelperMacros.h:9: /usr/include/cppunit/TestCaller.h:155:6: error: member initializer 'm_test_function' does not name a non-static data member or base class m_test_function( std::bind(test, fixture) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:162:17: error: use of undeclared identifier 'fixture'; did you mean 'm_fixture'? m_fixture(fixture), ^ /usr/include/cppunit/TestCaller.h:199:12: note: 'm_fixture' declared here Fixture *m_fixture; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.