DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build --target all --
[1/109] Building CXX object examples/external_io_service/CMakeFiles/external_io_service.dir/external_io_service.cpp.o
FAILED: examples/external_io_service/CMakeFiles/external_io_service.dir/external_io_service.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/external_io_service/CMakeFiles/external_io_service.dir/external_io_service.cpp.o -MF examples/external_io_service/CMakeFiles/external_io_service.dir/external_io_service.cpp.o.d -o examples/external_io_service/CMakeFiles/external_io_service.dir/external_io_service.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/external_io_service.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/external_io_service.cpp:27:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/tcp_echo_server.hpp:47:28: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
47 | tcp_echo_session(asio::io_service & service) : m_socket(service) {}
| ~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/tcp_echo_server.hpp:75:27: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
75 | tcp_echo_server(asio::io_service & service, short port)
| ~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/tcp_echo_server.hpp:95:11: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
95 | asio::io_service & m_service;
| ~~~~~~^
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/external_io_service.cpp:29:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/external_io_service/external_io_service.cpp:29:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/109] Building CXX object examples/associative_storage/CMakeFiles/associative_storage.dir/associative_storage.cpp.o
FAILED: examples/associative_storage/CMakeFiles/associative_storage.dir/associative_storage.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/associative_storage -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/associative_storage/CMakeFiles/associative_storage.dir/associative_storage.cpp.o -MF examples/associative_storage/CMakeFiles/associative_storage.dir/associative_storage.cpp.o.d -o examples/associative_storage/CMakeFiles/associative_storage.dir/associative_storage.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/associative_storage/associative_storage.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/associative_storage/associative_storage.cpp:4:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/associative_storage/associative_storage.cpp:4:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3/109] Building CXX object examples/echo_server/CMakeFiles/echo_server.dir/echo_server.cpp.o
FAILED: examples/echo_server/CMakeFiles/echo_server.dir/echo_server.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/echo_server/CMakeFiles/echo_server.dir/echo_server.cpp.o -MF examples/echo_server/CMakeFiles/echo_server.dir/echo_server.cpp.o.d -o examples/echo_server/CMakeFiles/echo_server.dir/echo_server.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server/echo_server.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server/echo_server.cpp:1:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server/echo_server.cpp:1:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[4/109] Building CXX object examples/debug_server/CMakeFiles/debug_server.dir/debug_server.cpp.o
FAILED: examples/debug_server/CMakeFiles/debug_server.dir/debug_server.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_server -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/debug_server/CMakeFiles/debug_server.dir/debug_server.cpp.o -MF examples/debug_server/CMakeFiles/debug_server.dir/debug_server.cpp.o.d -o examples/debug_server/CMakeFiles/debug_server.dir/debug_server.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_server/debug_server.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_server/debug_server.cpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/debug_asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_server/debug_server.cpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/debug_asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[5/109] Building CXX object examples/echo_client/CMakeFiles/echo_client.dir/echo_client.cpp.o
FAILED: examples/echo_client/CMakeFiles/echo_client.dir/echo_client.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_client -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/echo_client/CMakeFiles/echo_client.dir/echo_client.cpp.o -MF examples/echo_client/CMakeFiles/echo_client.dir/echo_client.cpp.o.d -o examples/echo_client/CMakeFiles/echo_client.dir/echo_client.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_client/echo_client.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_client/echo_client.cpp:28:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls_client.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_client/echo_client.cpp:28:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls_client.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[6/109] Building CXX object examples/broadcast_server/CMakeFiles/broadcast_server.dir/broadcast_server.cpp.o
FAILED: examples/broadcast_server/CMakeFiles/broadcast_server.dir/broadcast_server.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/broadcast_server -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/broadcast_server/CMakeFiles/broadcast_server.dir/broadcast_server.cpp.o -MF examples/broadcast_server/CMakeFiles/broadcast_server.dir/broadcast_server.cpp.o.d -o examples/broadcast_server/CMakeFiles/broadcast_server.dir/broadcast_server.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/broadcast_server/broadcast_server.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/broadcast_server/broadcast_server.cpp:1:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/broadcast_server/broadcast_server.cpp:1:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[7/109] Building CXX object examples/echo_server_both/CMakeFiles/echo_server_both.dir/echo_server_both.cpp.o
FAILED: examples/echo_server_both/CMakeFiles/echo_server_both.dir/echo_server_both.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_both -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/echo_server_both/CMakeFiles/echo_server_both.dir/echo_server_both.cpp.o -MF examples/echo_server_both/CMakeFiles/echo_server_both.dir/echo_server_both.cpp.o.d -o examples/echo_server_both/CMakeFiles/echo_server_both.dir/echo_server_both.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_both/echo_server_both.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_both/echo_server_both.cpp:1:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_both/echo_server_both.cpp:1:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[8/109] Building CXX object examples/enriched_storage/CMakeFiles/enriched_storage.dir/enriched_storage.cpp.o
FAILED: examples/enriched_storage/CMakeFiles/enriched_storage.dir/enriched_storage.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/enriched_storage -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/enriched_storage/CMakeFiles/enriched_storage.dir/enriched_storage.cpp.o -MF examples/enriched_storage/CMakeFiles/enriched_storage.dir/enriched_storage.cpp.o.d -o examples/enriched_storage/CMakeFiles/enriched_storage.dir/enriched_storage.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/enriched_storage/enriched_storage.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/enriched_storage/enriched_storage.cpp:2:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/enriched_storage/enriched_storage.cpp:2:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_no_tls.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[9/109] Building CXX object examples/debug_client/CMakeFiles/debug_client.dir/debug_client.cpp.o
FAILED: examples/debug_client/CMakeFiles/debug_client.dir/debug_client.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_client -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/debug_client/CMakeFiles/debug_client.dir/debug_client.cpp.o -MF examples/debug_client/CMakeFiles/debug_client.dir/debug_client.cpp.o.d -o examples/debug_client/CMakeFiles/debug_client.dir/debug_client.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_client/debug_client.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_client/debug_client.cpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_client.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/debug_client/debug_client.cpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio_client.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[10/109] Building CXX object examples/echo_server_tls/CMakeFiles/echo_server_tls.dir/echo_server_tls.cpp.o
FAILED: examples/echo_server_tls/CMakeFiles/echo_server_tls.dir/echo_server_tls.cpp.o
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_tls -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git -ITMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot -O2 -g -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git=/usr/src/debug/websocketpp/0.8.2 -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build=/usr/src/debug/websocketpp/0.8.2 -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot= -fdebug-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -fmacro-prefix-map=TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++0x -Wall -Wno-padded -MD -MT examples/echo_server_tls/CMakeFiles/echo_server_tls.dir/echo_server_tls.cpp.o -MF examples/echo_server_tls/CMakeFiles/echo_server_tls.dir/echo_server_tls.cpp.o.d -o examples/echo_server_tls/CMakeFiles/echo_server_tls.dir/echo_server_tls.cpp.o -c TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_tls/echo_server_tls.cpp
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_tls/echo_server_tls.cpp:37:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:89:24: error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
89 | typedef lib::asio::io_service * io_service_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:91:40: error: no member named 'io_service' in namespace 'websocketpp::lib::asio'
91 | typedef lib::shared_ptr<lib::asio::io_service::strand> strand_ptr;
| ~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:315:17: error: no matching constructor for initialization of 'lib::asio::steady_timer' (aka 'basic_waitable_timer<chrono::steady_clock>')
315 | new lib::asio::steady_timer(
| ^
316 | *m_io_service,
| ~~~~~~~~~~~~~~
317 | lib::asio::milliseconds(duration))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:232:12: note: candidate constructor template not viable: no known conversion from 'std::chrono::milliseconds' (aka 'duration<long long, ratio<1LL, 1000LL>>') to 'const time_point' (aka 'const time_point<std::chrono::steady_clock, duration<long long, ratio<1LL, 1000000000LL>>>') for 2nd argument
232 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
233 | const time_point& expiry_time,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:254:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
254 | basic_waitable_timer(const executor_type& ex, const duration& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:212:3: note: candidate constructor not viable: no known conversion from 'int' to 'const executor_type' (aka 'const boost::asio::any_io_executor') for 1st argument
212 | basic_waitable_timer(const executor_type& ex, const time_point& expiry_time)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:194:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
194 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:275:12: note: candidate template ignored: substitution failure [with ExecutionContext = int]: no type named 'type' in 'boost::asio::constraint<false>'
275 | explicit basic_waitable_timer(ExecutionContext& context,
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:338:3: note: candidate template ignored: could not match 'basic_waitable_timer<steady_clock, wait_traits<steady_clock>, Executor1>' against 'int'
338 | basic_waitable_timer(
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:178:12: note: candidate constructor not viable: requires single argument 'ex', but 2 arguments were provided
178 | explicit basic_waitable_timer(const executor_type& ex)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:299:3: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided
299 | basic_waitable_timer(basic_waitable_timer&& other)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/recipe-sysroot/usr/include/boost/asio/basic_waitable_timer.hpp:601:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided
601 | basic_waitable_timer(const basic_waitable_timer&) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/examples/echo_server_tls/echo_server_tls.cpp:37:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/config/asio.hpp:32:
In file included from TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/endpoint.hpp:32:
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:321:45: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
321 | new_timer->async_wait(m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:21: error: member reference base type 'strand_ptr' (aka 'int') is not a structure or union
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ~~~~~~~~^~~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:465:43: error: 'io_service' is not a class, namespace, or enumeration
465 | m_strand.reset(new lib::asio::io_service::strand(*io_service));
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:461:47: note: 'io_service' declared here
461 | lib::error_code init_asio (io_service_ptr io_service) {
| ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:576:58: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
576 | (post_timer && lib::asio::is_neg(post_timer->expires_from_now())))
| ~~~~~~~~~~~~^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:632:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
632 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:716:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
716 | m_strand->wrap(lib::bind(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:844:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
844 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:913:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
913 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:950:27: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
950 | m_strand->wrap(make_custom_alloc_handler(
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:25: error: member reference base type 'int' is not a structure or union
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1015:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1015 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1017:25: error: member reference base type 'int' is not a structure or union
1017 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:25: error: member reference base type 'int' is not a structure or union
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1024:42: error: member reference type 'strand_ptr' (aka 'int') is not a pointer
1024 | m_io_service->post(m_strand->wrap(handler));
| ~~~~~~~~ ^
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1026:25: error: member reference base type 'int' is not a structure or union
1026 | m_io_service->post(handler);
| ~~~~~~~~~~~~^ ~~~~
TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/git/websocketpp/transport/asio/connection.hpp:1098:47: error: no member named 'expires_from_now' in 'boost::asio::basic_waitable_timer<std::chrono::steady_clock>'
1098 | lib::asio::is_neg(shutdown_timer->expires_from_now()))
| ~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/temp/run.do_compile.1123849:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/temp/run.do_compile.1123849, line 153
#2: cmake_do_compile, TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/temp/run.do_compile.1123849, line 147
#3: do_compile, TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/temp/run.do_compile.1123849, line 142
#4: main, TMPDIR/work/riscv64-yoe-linux/websocketpp/0.8.2/temp/run.do_compile.1123849, line 166