Created
February 27, 2019 12:57
-
-
Save Dobiasd/6146ff7ea3ebe0261cbe45b27db0bebd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tobias@tobias-Z170-HD3P ~ $ git clone https://github.com/onqtam/doctest | |
Cloning into 'doctest'... | |
remote: Enumerating objects: 8525, done. | |
remote: Total 8525 (delta 0), reused 0 (delta 0), pack-reused 8525 | |
Receiving objects: 100% (8525/8525), 4.93 MiB | 2.39 MiB/s, done. | |
Resolving deltas: 100% (5447/5447), done. | |
Checking connectivity... done. | |
tobias@tobias-Z170-HD3P ~ $ cd doctest | |
tobias@tobias-Z170-HD3P ~/doctest $ mkdir -p build | |
tobias@tobias-Z170-HD3P ~/doctest $ cd build | |
tobias@tobias-Z170-HD3P ~/doctest/build $ cmake .. | |
-- The C compiler identification is GNU 5.4.0 | |
-- The CXX compiler identification is GNU 5.4.0 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Looking for pthread_create | |
-- Looking for pthread_create - not found | |
-- Looking for pthread_create in pthreads | |
-- Looking for pthread_create in pthreads - not found | |
-- Looking for pthread_create in pthread | |
-- Looking for pthread_create in pthread - found | |
-- Found Threads: TRUE | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/tobias/doctest/build | |
tobias@tobias-Z170-HD3P ~/doctest/build $ make install | |
Scanning dependencies of target assemble_single_header | |
[ 2%] Built target assemble_single_header | |
Scanning dependencies of target disabled | |
[ 4%] Building CXX object examples/all_features/CMakeFiles/disabled.dir/main.cpp.o | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:392:1: error: identifier ‘decltype’ is a keyword in C++11 [-Werror=c++0x-compat] | |
typedef decltype(nullptr) nullptr_t; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:392:1: error: identifier ‘nullptr’ is a keyword in C++11 [-Werror=c++0x-compat] | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2291:32: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_TYPE_TO_STRING(...) typedef int DOCTEST_ANONYMOUS(_DOCTEST_ANON_FOR_SEMICOLON_) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2292:37: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_TYPE_TO_STRING_IMPL(...) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2295:48: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_TEST_CASE_TEMPLATE(name, type, ...) \ | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2303:52: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_TEST_CASE_TEMPLATE_INSTANTIATE(id, ...) \ | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2333:22: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2334:23: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2335:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2336:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_FALSE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2337:29: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_FALSE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2338:31: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_FALSE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2350:38: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_THROWS_AS(expr, ...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2351:39: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_THROWS_AS(expr, ...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2352:41: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_THROWS_AS(expr, ...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2353:40: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_THROWS_WITH(expr, ...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2354:41: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_THROWS_WITH(expr, ...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2355:43: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_THROWS_WITH(expr, ...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2373:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_EQ(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2374:26: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_EQ(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2375:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_EQ(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2376:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_NE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2377:26: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_NE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2378:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_NE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2379:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_GT(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2380:26: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_GT(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2381:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_GT(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2382:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_LT(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2383:26: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_LT(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2384:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_LT(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2385:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_GE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2386:26: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_GE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2387:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_GE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2388:25: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_LE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2389:26: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_LE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2390:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_LE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2392:28: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_UNARY(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2393:29: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_UNARY(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2394:31: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_UNARY(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2395:34: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_WARN_UNARY_FALSE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2396:35: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_CHECK_UNARY_FALSE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2397:37: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_REQUIRE_UNARY_FALSE(...) ((void)0) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2434:44: error: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] | |
#define DOCTEST_SCENARIO_TEMPLATE(name, T, ...) DOCTEST_TEST_CASE_TEMPLATE(" Scenario: " name, T, __VA_ARGS__) | |
^ | |
In file included from /usr/include/c++/5/atomic:38:0, | |
from /home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2705, | |
from /home/tobias/doctest/examples/all_features/main.cpp:2: | |
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #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 /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:392:25: error: ISO C++ forbids declaration of ‘decltype’ with no type [-fpermissive] | |
typedef decltype(nullptr) nullptr_t; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:392:25: error: typedef ‘std::decltype’ is initialized (use decltype instead) | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:392:18: error: ‘nullptr’ was not declared in this scope | |
typedef decltype(nullptr) nullptr_t; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:463:18: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
String(String&& other); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:463:26: error: invalid constructor; you probably meant ‘doctest::String (const doctest::String&)’ | |
String(String&& other); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:464:29: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
String& operator=(String&& other); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:599:78: error: comma at end of enumerator list [-Wpedantic] | |
DT_REQUIRE_UNARY_FALSE = is_normal | is_false | is_unary | is_require, | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:646:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(AssertData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:646:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(AssertData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:657:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(MessageData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:657:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(MessageData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:676:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(IContextScope); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:676:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(IContextScope); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:720:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(ContextOptions); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:720:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(ContextOptions); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:737:50: error: template argument 1 is invalid | |
template<class T> struct remove_reference<T&&> { typedef T type; }; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:862:44: error: ISO C++ 1998 does not support ‘long long’ [-Wlong-long] | |
DOCTEST_INTERFACE String toString(int long long in); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:863:44: error: ISO C++ 1998 does not support ‘long long’ [-Wlong-long] | |
DOCTEST_INTERFACE String toString(int long long unsigned in); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:864:40: error: ‘doctest::String doctest::toString’ redeclared as different kind of symbol | |
DOCTEST_INTERFACE String toString(std::nullptr_t in); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:863:26: note: previous declaration ‘doctest::String doctest::toString(long long unsigned int)’ | |
DOCTEST_INTERFACE String toString(int long long unsigned in); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:864:35: error: ‘nullptr_t’ is not a member of ‘std’ | |
DOCTEST_INTERFACE String toString(std::nullptr_t in); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1665:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(Context); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1665:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(Context); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1663:62: error: ‘nullptr’ was not declared in this scope | |
explicit Context(int argc = 0, const char* const* argv = nullptr); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1712:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(CurrentTestCaseStats); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1712:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(CurrentTestCaseStats); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:61: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1725:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(TestRunStats); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:340:100: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:1725:5: note: in expansion of macro ‘DOCTEST_DELETE_COPIES’ | |
DOCTEST_DELETE_COPIES(TestRunStats); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2740:30: error: ‘thread_local’ does not name a type | |
#define DOCTEST_THREAD_LOCAL thread_local | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2818:5: note: in expansion of macro ‘DOCTEST_THREAD_LOCAL’ | |
DOCTEST_THREAD_LOCAL std::ostringstream g_oss; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2740:30: note: C++11 ‘thread_local’ only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_THREAD_LOCAL thread_local | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2818:5: note: in expansion of macro ‘DOCTEST_THREAD_LOCAL’ | |
DOCTEST_THREAD_LOCAL std::ostringstream g_oss; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In function ‘std::ostream* doctest::detail::getTlsOss()’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2821:9: error: ‘g_oss’ was not declared in this scope | |
g_oss.clear(); // there shouldn't be anything worth clearing in the flags | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In function ‘doctest::String doctest::detail::getTlsOssResult()’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2829:16: error: ‘g_oss’ was not declared in this scope | |
return g_oss.str().c_str(); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In constructor ‘doctest::String::String(const char*)’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2896:32: error: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
: String(in, strlen(in)) {} | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: At global scope: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2975:22: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
String::String(String&& other) { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2975:1: error: prototype for ‘doctest::String::String(doctest::String)’ does not match any in class ‘doctest::String’ | |
String::String(String&& other) { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2911:1: error: candidates are: doctest::String::String(const doctest::String&) | |
String::String(const String& other) { copy(other); } | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2898:1: error: doctest::String::String(const char*, unsigned int) | |
String::String(const char* in, unsigned in_size) { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2895:1: error: doctest::String::String(const char*) | |
String::String(const char* in) | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2885:1: error: doctest::String::String() | |
String::String() { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2981:33: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
String& String::operator=(String&& other) { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In member function ‘doctest::String& doctest::String::operator=(doctest::String)’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2982:17: error: ‘other’ was not declared in this scope | |
if(this != &other) { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In function ‘const char* doctest::removePathFromFilename(const char*)’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3122:9: error: ‘auto’ changes meaning in C++11; please remove it [-Werror=c++0x-compat] | |
auto back = std::strrchr(file, '\\'); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3122:14: error: ‘back’ does not name a type | |
auto back = std::strrchr(file, '\\'); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3123:9: error: ‘auto’ changes meaning in C++11; please remove it [-Werror=c++0x-compat] | |
auto forward = std::strrchr(file, '/'); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3123:14: error: ‘forward’ does not name a type | |
auto forward = std::strrchr(file, '/'); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3124:12: error: ‘back’ was not declared in this scope | |
if(back || forward) { | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3124:20: error: ‘forward’ was not declared in this scope | |
if(back || forward) { | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: At global scope: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3135:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(TestCaseData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3135:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(TestCaseData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:342:67: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3136:1: note: in expansion of macro ‘DOCTEST_DEFINE_COPIES’ | |
DOCTEST_DEFINE_COPIES(TestCaseData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:342:113: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3136:1: note: in expansion of macro ‘DOCTEST_DEFINE_COPIES’ | |
DOCTEST_DEFINE_COPIES(TestCaseData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3138:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(AssertData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3138:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(AssertData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3140:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(MessageData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3140:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(MessageData); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3147:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(SubcaseSignature); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3147:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(SubcaseSignature); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:342:67: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3148:1: note: in expansion of macro ‘DOCTEST_DEFINE_COPIES’ | |
DOCTEST_DEFINE_COPIES(SubcaseSignature); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:342:113: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3148:1: note: in expansion of macro ‘DOCTEST_DEFINE_COPIES’ | |
DOCTEST_DEFINE_COPIES(SubcaseSignature); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3158:35: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
IContextScope::IContextScope() = default; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3159:35: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
IContextScope::~IContextScope() = default; | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3161:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(ContextOptions); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3161:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(ContextOptions); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3188:37: error: ISO C++ 1998 does not support ‘long long’ [-Wlong-long] | |
DOCTEST_TO_STRING_OVERLOAD(int long long, "%lld") | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3173:21: note: in definition of macro ‘DOCTEST_TO_STRING_OVERLOAD’ | |
String toString(type in) { \ | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In function ‘doctest::String doctest::toString(long long int)’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3175:34: error: ISO C++98 does not support the ‘ll’ gnu_printf length modifier [-Werror=format=] | |
std::sprintf(buf, fmt, in); \ | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3188:1: note: in expansion of macro ‘DOCTEST_TO_STRING_OVERLOAD’ | |
DOCTEST_TO_STRING_OVERLOAD(int long long, "%lld") | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: At global scope: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3189:37: error: ISO C++ 1998 does not support ‘long long’ [-Wlong-long] | |
DOCTEST_TO_STRING_OVERLOAD(int long long unsigned, "%llu") | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3173:21: note: in definition of macro ‘DOCTEST_TO_STRING_OVERLOAD’ | |
String toString(type in) { \ | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In function ‘doctest::String doctest::toString(long long unsigned int)’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3175:34: error: ISO C++98 does not support the ‘ll’ gnu_printf length modifier [-Werror=format=] | |
std::sprintf(buf, fmt, in); \ | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3189:1: note: in expansion of macro ‘DOCTEST_TO_STRING_OVERLOAD’ | |
DOCTEST_TO_STRING_OVERLOAD(int long long unsigned, "%llu") | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: At global scope: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3191:31: error: ‘doctest::String doctest::toString’ redeclared as different kind of symbol | |
String toString(std::nullptr_t) { return "NULL"; } | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:949:26: note: previous declaration ‘doctest::String doctest::toString(const doctest::Approx&)’ | |
DOCTEST_INTERFACE String toString(const Approx& in); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3191:17: error: ‘nullptr_t’ is not a member of ‘std’ | |
String toString(std::nullptr_t) { return "NULL"; } | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:342:67: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3198:1: note: in expansion of macro ‘DOCTEST_DEFINE_COPIES’ | |
DOCTEST_DEFINE_COPIES(Approx); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:342:113: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3198:1: note: in expansion of macro ‘DOCTEST_DEFINE_COPIES’ | |
DOCTEST_DEFINE_COPIES(Approx); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In function ‘const doctest::ContextOptions* doctest::getContextOptions()’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3236:79: error: ‘nullptr’ was not declared in this scope | |
const ContextOptions* getContextOptions() { return DOCTEST_BRANCH_ON_DISABLED(nullptr, g_cs); } | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:2730:66: note: in definition of macro ‘DOCTEST_BRANCH_ON_DISABLED’ | |
#define DOCTEST_BRANCH_ON_DISABLED(if_disabled, if_not_disabled) if_disabled | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: At global scope: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3243:23: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
Context::~Context() = default; | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3254:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(CurrentTestCaseStats); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3254:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(CurrentTestCaseStats); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:57: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3256:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(TestRunStats); | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:344:82: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
#define DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3256:1: note: in expansion of macro ‘DOCTEST_DEFINE_DEFAULTS’ | |
DOCTEST_DEFINE_DEFAULTS(TestRunStats); | |
^ | |
In file included from /home/tobias/doctest/examples/all_features/main.cpp:2:0: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3258:27: error: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
IReporter::~IReporter() = default; | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In static member function ‘static const doctest::IContextScope* const* doctest::IReporter::get_active_contexts()’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3261:71: error: ‘nullptr’ was not declared in this scope | |
const IContextScope* const* IReporter::get_active_contexts() { return nullptr; } | |
^ | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h: In static member function ‘static const doctest::String* doctest::IReporter::get_stringified_contexts()’: | |
/home/tobias/doctest/examples/all_features/../../doctest/doctest.h:3263:76: error: ‘nullptr’ was not declared in this scope | |
const String* IReporter::get_stringified_contexts() { return nullptr; } | |
^ | |
/home/tobias/doctest/examples/all_features/main.cpp: In function ‘int main(int, char**)’: | |
/home/tobias/doctest/examples/all_features/main.cpp:10:22: error: call to ‘doctest::Context::Context(int, const char* const*)’ uses the default argument for parameter 2, which is not yet defined | |
doctest::Context context; | |
^ | |
cc1plus: all warnings being treated as errors | |
examples/all_features/CMakeFiles/disabled.dir/build.make:62: recipe for target 'examples/all_features/CMakeFiles/disabled.dir/main.cpp.o' failed | |
make[2]: *** [examples/all_features/CMakeFiles/disabled.dir/main.cpp.o] Error 1 | |
CMakeFiles/Makefile2:156: recipe for target 'examples/all_features/CMakeFiles/disabled.dir/all' failed | |
make[1]: *** [examples/all_features/CMakeFiles/disabled.dir/all] Error 2 | |
Makefile:138: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment