In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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 'boost::enable_if'? typename std::enable_if::value, std::string>::type toString(const T& x) ^~~~~ /usr/include/boost/core/enable_if.hpp:41:10: note: 'boost::enable_if' declared here struct enable_if : public enable_if_c {}; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:26: error: no template named 'is_enum' in namespace 'std'; did you mean 'boost::is_enum'? typename std::enable_if::value, std::string>::type toString(const T& x) ^~~~~ /usr/include/boost/type_traits/is_enum.hpp:160:27: note: 'boost::is_enum' declared here template struct is_enum : public integral_constant {}; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:25: error: template argument for template type parameter must be a type typename std::enable_if::value, std::string>::type toString(const T& x) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/core/enable_if.hpp:40:19: note: template parameter is declared here template ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:64: error: expected a qualified name after 'typename' typename std::enable_if::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:22:68: error: expected ';' at end of declaration typename std::enable_if::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:22:84: error: unknown type name 'T' typename std::enable_if::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:22:69: error: C++ requires a type specifier for all declarations typename std::enable_if::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:27:12: error: no viable conversion from returned value of type '__string_type' (aka 'basic_string, std::allocator >') to function return type 'int' return ost.str(); ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:31:10: error: no template named 'enable_if' in namespace 'std'; did you mean 'boost::enable_if'? typename std::enable_if::value, std::string>::type toString(const T& x) ^~~~~ /usr/include/boost/core/enable_if.hpp:41:10: note: 'boost::enable_if' declared here struct enable_if : public enable_if_c {}; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:31:25: error: no template named 'is_enum' in namespace 'std'; did you mean 'boost::is_enum'? typename std::enable_if::value, std::string>::type toString(const T& x) ^~~~~ /usr/include/boost/type_traits/is_enum.hpp:160:27: note: 'boost::is_enum' declared here template struct is_enum : public integral_constant {}; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:31:25: error: template argument for template type parameter must be a type; did you forget 'typename'? typename std::enable_if::value, std::string>::type toString(const T& x) ^ /usr/include/boost/core/enable_if.hpp:40:19: note: template parameter is declared here template ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:34:38: error: no type named 'underlying_type' in namespace 'std' ost << static_cast::type>(x); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:34:32: error: expected '>' ost << static_cast::type>(x); ^ /usr/include/cppunit/tools/StringHelper.h:34:23: note: to match this '<' ost << static_cast::type>(x); ^ /usr/include/cppunit/tools/StringHelper.h:34:54: error: 'T' does not refer to a value ost << static_cast::type>(x); ^ /usr/include/cppunit/tools/StringHelper.h:30:19: note: declared here template ^ /usr/include/cppunit/tools/StringHelper.h:34:58: error: no member named 'type' in the global namespace; did you mean 'time'? ost << static_cast::type>(x); ~~^ /usr/include/time.h:76:15: note: 'time' declared here extern time_t time (time_t *__timer) __THROW; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:32: error: no template named 'function' in namespace 'std'; did you mean 'boost::function'? TestCaller(std::string name, std::function test_function, Fixture* fixture): ^~~~~ /usr/include/boost/function/function_fwd.hpp:32:38: note: 'boost::function' declared here template class function; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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:200:3: error: no template named 'function' in namespace 'std'; did you mean 'boost::function'? std::function m_test_function; ^~~~~ /usr/include/boost/function/function_fwd.hpp:32:38: note: 'boost::function' declared here template class function; ^ In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.cpp:32: In file included from /data/runtests/work/sources/syncevolution/test/ClientTest.h:37: 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: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/stl_algo.h:3899:5: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.