Skip to content

Instantly share code, notes, and snippets.

@eliabruni
Created November 8, 2023 09:10
Show Gist options
  • Save eliabruni/959ccd2fc3e48de03b3d753ada128233 to your computer and use it in GitHub Desktop.
Save eliabruni/959ccd2fc3e48de03b3d753ada128233 to your computer and use it in GitHub Desktop.
ninja output
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/listener/http_listener_msg.cpp:11:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[16/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/pplx/pplxlinux.cpp.o -c ../Release/src/pplx/pplxlinux.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/future:39,
from /usr/include/boost/asio/detail/future.hpp:20,
from /usr/include/boost/asio/packaged_task.hpp:19,
from /usr/include/boost/asio.hpp:134,
from ../Release/include/pplx/threadpool.h:20,
from ../Release/src/pplx/pplxlinux.cpp:17:
/usr/include/c++/10/thread: In function 'void std::this_thread::sleep_for(const std::chrono::duration<_Rep1, _Period1>&)':
/usr/include/c++/10/thread:401:11: error: '::nanosleep' has not been declared
401 | while (::nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/pplxlinux.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[17/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o -c ../Release/src/http/client/x509_cert_utilities.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/x509_cert_utilities.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[18/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/json/json_parsing.cpp.o -c ../Release/src/json/json_parsing.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/json/json_parsing.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[19/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o -c ../Release/src/websockets/client/ws_msg.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_msg.cpp:15:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[20/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o -c ../Release/src/http/common/http_msg.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_msg.cpp:13:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[21/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/pplx/threadpool.cpp.o -c ../Release/src/pplx/threadpool.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/future:39,
from /usr/include/boost/asio/detail/future.hpp:20,
from /usr/include/boost/asio/packaged_task.hpp:19,
from /usr/include/boost/asio.hpp:134,
from ../Release/include/pplx/threadpool.h:20,
from ../Release/src/pplx/threadpool.cpp:8:
/usr/include/c++/10/thread: In function 'void std::this_thread::sleep_for(const std::chrono::duration<_Rep1, _Period1>&)':
/usr/include/c++/10/thread:401:11: error: '::nanosleep' has not been declared
401 | while (::nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/pplx/threadpool.cpp:5:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[22/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -c ../Release/src/http/client/http_client.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[23/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/http/oauth/oauth2.cpp.o -c ../Release/src/http/oauth/oauth2.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/oauth/oauth2.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[24/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -c ../Release/src/http/common/http_compression.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/common/http_compression.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[25/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/http/client/http_client_asio.cpp.o -c ../Release/src/http/client/http_client_asio.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/future:39,
from /usr/include/boost/asio/detail/future.hpp:20,
from /usr/include/boost/asio/packaged_task.hpp:19,
from /usr/include/boost/asio.hpp:134,
from ../Release/src/http/client/http_client_asio.cpp:29:
/usr/include/c++/10/thread: In function 'void std::this_thread::sleep_for(const std::chrono::duration<_Rep1, _Period1>&)':
/usr/include/c++/10/thread:401:11: error: '::nanosleep' has not been declared
401 | while (::nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
| ^~~~~~~~~
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/bind.hpp: At global scope:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/http/client/http_client_asio.cpp:16:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
[26/160] Building CXX object Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o
FAILED: Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_RANDOM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I../Release/include -I../Release/src/pch -I/usr/local/include/openssl -std=c++14 -fno-strict-aliasing -g -fPIC -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -MD -MT Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o -MF Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o.d -o Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_client_wspp.cpp.o -c ../Release/src/websockets/client/ws_client_wspp.cpp
In file included from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/chrono/system_clocks.hpp:71:7: error: #error <time.h> does not supply CLOCK_REALTIME
71 | # error <time.h> does not supply CLOCK_REALTIME
| ^~~~~
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:102:1: error: 'pthread_once' was not declared in this scope; did you mean 'pthread_once_t'?
102 | __gthrw(pthread_once)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:103:1: error: 'pthread_getspecific' was not declared in this scope
103 | __gthrw(pthread_getspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:104:1: error: 'pthread_setspecific' was not declared in this scope
104 | __gthrw(pthread_setspecific)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:106:1: error: 'pthread_create' was not declared in this scope
106 | __gthrw(pthread_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:107:1: error: 'pthread_join' was not declared in this scope; did you mean 'pthread_t'?
107 | __gthrw(pthread_join)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:108:1: error: 'pthread_equal' was not declared in this scope; did you mean 'thread_local'?
108 | __gthrw(pthread_equal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:109:1: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_key_t'?
109 | __gthrw(pthread_self)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:110:1: error: 'pthread_detach' was not declared in this scope
110 | __gthrw(pthread_detach)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:112:1: error: 'pthread_cancel' was not declared in this scope; did you mean 'pthread_cond_t'?
112 | __gthrw(pthread_cancel)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:116:1: error: 'pthread_mutex_lock' was not declared in this scope; did you mean 'pthread_mutex_t'?
116 | __gthrw(pthread_mutex_lock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:117:1: error: 'pthread_mutex_trylock' was not declared in this scope; did you mean 'pthread_mutex_t'?
117 | __gthrw(pthread_mutex_trylock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:119:1: error: 'pthread_mutex_timedlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
119 | __gthrw(pthread_mutex_timedlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:121:1: error: 'pthread_mutex_unlock' was not declared in this scope; did you mean 'pthread_mutex_t'?
121 | __gthrw(pthread_mutex_unlock)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:122:1: error: 'pthread_mutex_init' was not declared in this scope; did you mean 'pthread_mutex_t'?
122 | __gthrw(pthread_mutex_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:123:1: error: 'pthread_mutex_destroy' was not declared in this scope; did you mean 'pthread_mutex_t'?
123 | __gthrw(pthread_mutex_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:125:1: error: 'pthread_cond_init' was not declared in this scope; did you mean 'pthread_cond_t'?
125 | __gthrw(pthread_cond_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:126:1: error: 'pthread_cond_broadcast' was not declared in this scope; did you mean 'pthread_cond_t'?
126 | __gthrw(pthread_cond_broadcast)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:127:1: error: 'pthread_cond_signal' was not declared in this scope; did you mean 'pthread_cond_t'?
127 | __gthrw(pthread_cond_signal)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:128:1: error: 'pthread_cond_wait' was not declared in this scope; did you mean 'pthread_cond_t'?
128 | __gthrw(pthread_cond_wait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:129:1: error: 'pthread_cond_timedwait' was not declared in this scope; did you mean 'pthread_cond_t'?
129 | __gthrw(pthread_cond_timedwait)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:130:1: error: 'pthread_cond_destroy' was not declared in this scope; did you mean 'pthread_cond_t'?
130 | __gthrw(pthread_cond_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:132:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
132 | __gthrw(pthread_key_create)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:133:1: error: 'pthread_key_delete' was not declared in this scope; did you mean 'pthread_key_t'?
133 | __gthrw(pthread_key_delete)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:134:1: error: 'pthread_mutexattr_init' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
134 | __gthrw(pthread_mutexattr_init)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:135:1: error: 'pthread_mutexattr_settype' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
135 | __gthrw(pthread_mutexattr_settype)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:136:1: error: 'pthread_mutexattr_destroy' was not declared in this scope; did you mean 'pthread_mutexattr_t'?
136 | __gthrw(pthread_mutexattr_destroy)
| ^~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:237:1: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'?
237 | __gthrw2(__gthrw_(__pthread_key_create),
| ^~~~~~~~
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:663:68: error: '__gthrw_pthread_create' cannot be used as a function
663 | return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_join(__gthread_t, void**)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:669:57: error: '__gthrw_pthread_join' cannot be used as a function
669 | return __gthrw_(pthread_join) (__threadid, __value_ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_detach(__gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:675:46: error: '__gthrw_pthread_detach' cannot be used as a function
675 | return __gthrw_(pthread_detach) (__threadid);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_equal(__gthread_t, __gthread_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:681:45: error: '__gthrw_pthread_equal' cannot be used as a function
681 | return __gthrw_(pthread_equal) (__t1, __t2);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function '__gthread_t __gthread_self()':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:687:34: error: '__gthrw_pthread_self' cannot be used as a function
687 | return __gthrw_(pthread_self) ();
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:700:50: error: '__gthrw_pthread_once' cannot be used as a function
700 | return __gthrw_(pthread_once) (__once, __func);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:708:53: error: '__gthrw_pthread_key_create' cannot be used as a function
708 | return __gthrw_(pthread_key_create) (__key, __dtor);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_key_delete(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:714:45: error: '__gthrw_pthread_key_delete' cannot be used as a function
714 | return __gthrw_(pthread_key_delete) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void* __gthread_getspecific(__gthread_key_t)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:720:46: error: '__gthrw_pthread_getspecific' cannot be used as a function
720 | return __gthrw_(pthread_getspecific) (__key);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:726:53: error: '__gthrw_pthread_setspecific' cannot be used as a function
726 | return __gthrw_(pthread_setspecific) (__key, __ptr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:733:48: error: '__gthrw_pthread_mutex_init' cannot be used as a function
733 | __gthrw_(pthread_mutex_init) (__mutex, NULL);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:740:52: error: '__gthrw_pthread_mutex_destroy' cannot be used as a function
740 | return __gthrw_(pthread_mutex_destroy) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:749:49: error: '__gthrw_pthread_mutex_lock' cannot be used as a function
749 | return __gthrw_(pthread_mutex_lock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:758:52: error: '__gthrw_pthread_mutex_trylock' cannot be used as a function
758 | return __gthrw_(pthread_mutex_trylock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:769:69: error: '__gthrw_pthread_mutex_timedlock' cannot be used as a function
769 | return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:779:51: error: '__gthrw_pthread_mutex_unlock' cannot be used as a function
779 | return __gthrw_(pthread_mutex_unlock) (__mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:794:54: error: '__gthrw_pthread_mutexattr_init' cannot be used as a function
794 | __r = __gthrw_(pthread_mutexattr_init) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:10: error: 'PTHREAD_MUTEX_RECURSIVE' was not declared in this scope; did you mean 'PTHREAD_MUTEX_INITIALIZER'?
797 | PTHREAD_MUTEX_RECURSIVE);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PTHREAD_MUTEX_INITIALIZER
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:797:33: error: '__gthrw_pthread_mutexattr_settype' cannot be used as a function
797 | PTHREAD_MUTEX_RECURSIVE);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:799:54: error: '__gthrw_pthread_mutex_init' cannot be used as a function
799 | __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:801:52: error: '__gthrw_pthread_mutexattr_destroy' cannot be used as a function
801 | __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:853:50: error: '__gthrw_pthread_cond_broadcast' cannot be used as a function
853 | return __gthrw_(pthread_cond_broadcast) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_signal(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:859:47: error: '__gthrw_pthread_cond_signal' cannot be used as a function
859 | return __gthrw_(pthread_cond_signal) (__cond);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:865:54: error: '__gthrw_pthread_cond_wait' cannot be used as a function
865 | return __gthrw_(pthread_cond_wait) (__cond, __mutex);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:872:74: error: '__gthrw_pthread_cond_timedwait' cannot be used as a function
872 | return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
| ^
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h: In function 'int __gthread_cond_destroy(__gthread_cond_t*)':
/usr/include/aarch64-linux-gnu/c++/10/bits/gthr-default.h:885:48: error: '__gthrw_pthread_cond_destroy' cannot be used as a function
885 | return __gthrw_(pthread_cond_destroy) (__cond);
| ^
/usr/include/c++/10/ext/concurrence.h: At global scope:
/usr/include/c++/10/ext/concurrence.h:119:34: error: 'PTHREAD_MUTEX_INITIALIZER' was not declared in this scope
119 | __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:119:34: note: the macro 'PTHREAD_MUTEX_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/pthread.h:86: note: it was later defined here
86 | #define PTHREAD_MUTEX_INITIALIZER \
|
In file included from /usr/include/aarch64-linux-gnu/c++/10/bits/gthr.h:148,
from /usr/include/c++/10/ext/atomicity.h:35,
from /usr/include/c++/10/memory:75,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/c++/10/ext/concurrence.h:252:32: error: 'PTHREAD_COND_INITIALIZER' was not declared in this scope
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/concurrence.h:252:32: note: the macro 'PTHREAD_COND_INITIALIZER' had not yet been defined
In file included from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/pthread.h:151: note: it was later defined here
151 | #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }
|
In file included from /usr/include/boost/date_time/c_time.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/c++/10/ctime:64:11: error: 'clock' has not been declared in '::'
64 | using ::clock;
| ^~~~~
/usr/include/c++/10/ctime:65:11: error: 'difftime' has not been declared in '::'
65 | using ::difftime;
| ^~~~~~~~
/usr/include/c++/10/ctime:66:11: error: 'mktime' has not been declared in '::'
66 | using ::mktime;
| ^~~~~~
/usr/include/c++/10/ctime:67:11: error: 'time' has not been declared in '::'
67 | using ::time;
| ^~~~
/usr/include/c++/10/ctime:68:11: error: 'asctime' has not been declared in '::'
68 | using ::asctime;
| ^~~~~~~
/usr/include/c++/10/ctime:69:11: error: 'ctime' has not been declared in '::'
69 | using ::ctime;
| ^~~~~
/usr/include/c++/10/ctime:70:11: error: 'gmtime' has not been declared in '::'
70 | using ::gmtime;
| ^~~~~~
/usr/include/c++/10/ctime:71:11: error: 'localtime' has not been declared in '::'
71 | using ::localtime;
| ^~~~~~~~~
/usr/include/c++/10/ctime:72:11: error: 'strftime' has not been declared in '::'
72 | using ::strftime;
| ^~~~~~~~
In file included from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::localtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:67:18: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
67 | result = localtime_r(t, result);
| ^~~~~~~~~~~
| localtime
/usr/include/boost/date_time/c_time.hpp: In static member function 'static tm* boost::date_time::c_time::gmtime(const time_t*, tm*)':
/usr/include/boost/date_time/c_time.hpp:85:18: error: 'gmtime_r' was not declared in this scope; did you mean 'gmtime'?
85 | result = gmtime_r(t, result);
| ^~~~~~~~
| gmtime
In file included from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp: In function 'void boost::detail::sp_thread_sleep()':
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:72:5: error: 'nanosleep' was not declared in this scope
72 | nanosleep( &rqtp, 0 );
| ^~~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::local_time()':
/usr/include/boost/date_time/time_clock.hpp:36:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
36 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/time_clock.hpp: In static member function 'static time_type boost::date_time::second_clock<time_type>::universal_time()':
/usr/include/boost/date_time/time_clock.hpp:49:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
49 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_local_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:62:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
62 | ::std::time(&t);
| ^~~~
| tie
/usr/include/boost/date_time/date_clock_device.hpp: In static member function 'static tm* boost::date_time::day_clock<date_type>::get_universal_time(tm&)':
/usr/include/boost/date_time/date_clock_device.hpp:68:14: error: 'time' is not a member of 'std'; did you mean 'tie'?
68 | ::std::time(&t);
| ^~~~
| tie
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp: At global scope:
/usr/include/boost/date_time/gregorian/conversion.hpp:26:30: error: return type 'struct tm' is incomplete
26 | std::tm to_tm(const date& d)
| ^
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'void boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:45:13: error: aggregate 'tm datetm' has incomplete type and cannot be defined
45 | std::tm datetm;
| ^~~~~~
/usr/include/boost/date_time/gregorian/conversion.hpp: In function 'boost::gregorian::date boost::gregorian::date_from_tm(const tm&)':
/usr/include/boost/date_time/gregorian/conversion.hpp:61:45: error: invalid use of incomplete type 'const struct tm'
61 | return date(static_cast<unsigned short>(datetm.tm_year+1900),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:62:45: error: invalid use of incomplete type 'const struct tm'
62 | static_cast<unsigned short>(datetm.tm_mon+1),
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/date_time/posix_time/conversion.hpp:19,
from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/gregorian/conversion.hpp:63:45: error: invalid use of incomplete type 'const struct tm'
63 | static_cast<unsigned short>(datetm.tm_mday));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:41:50: error: return type 'struct tm' is incomplete
41 | std::tm to_tm(const boost::posix_time::ptime& t) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::ptime&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:42:13: error: variable 'tm timetm' has initializer but incomplete type
42 | std::tm timetm = boost::gregorian::to_tm(t.date());
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: At global scope:
/usr/include/boost/date_time/posix_time/conversion.hpp:52:59: error: return type 'struct tm' is incomplete
52 | std::tm to_tm(const boost::posix_time::time_duration& td) {
| ^
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'void boost::posix_time::to_tm(const boost::posix_time::time_duration&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:53:13: error: aggregate 'tm timetm' has incomplete type and cannot be defined
53 | std::tm timetm;
| ^~~~~~
/usr/include/boost/date_time/posix_time/conversion.hpp: In function 'boost::posix_time::ptime boost::posix_time::ptime_from_tm(const tm&)':
/usr/include/boost/date_time/posix_time/conversion.hpp:66:35: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:51: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/detail/platform_time.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/posix_time/conversion.hpp:66:66: error: invalid use of incomplete type 'const struct tm'
66 | return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec));
| ^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/c++/10/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/mutex:183:54: error: 'CLOCK_MONOTONIC' was not declared in this scope
183 | return static_cast<_Derived*>(this)->_M_clocklock(CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/detail/platform_time.hpp: In static member function 'static boost::detail::real_platform_timepoint boost::detail::real_platform_clock::now()':
/usr/include/boost/thread/detail/platform_time.hpp:309:16: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/thread/detail/platform_time.hpp:309:31: error: 'CLOCK_REALTIME' was not declared in this scope
309 | if ( ::clock_gettime( CLOCK_REALTIME, &ts ) )
| ^~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/mutex.hpp:278:41: error: 'boost::chrono::steady_clock' has not been declared
278 | return try_lock_until(chrono::steady_clock::now() + rel_time);
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:14,
from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:275:45: error: 'boost::chrono::steady_clock' has not been declared
275 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'bool boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable_fwd.hpp:321:45: error: 'boost::chrono::steady_clock' has not been declared
321 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp: At global scope:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:61: error: 'steady_clock' is not a member of 'boost::chrono'; did you mean 'std::chrono::_V2::steady_clock'?
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^~~~~~~~~~~~
In file included from /usr/include/c++/10/mutex:39,
from /usr/include/boost/system/detail/std_interoperability.hpp:13,
from /usr/include/boost/system/error_code.hpp:963,
from /usr/include/boost/chrono/detail/system.hpp:11,
from /usr/include/boost/chrono/system_clocks.hpp:64,
from /usr/include/boost/thread/detail/platform_time.hpp:20,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/c++/10/chrono:1028:12: note: 'std::chrono::_V2::steady_clock' declared here
1028 | struct steady_clock
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/condition_variable.hpp:15,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/pthread/thread_data.hpp:347:83: error: template argument 1 is invalid
347 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)
| ^
/usr/include/boost/thread/pthread/thread_data.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_until(const int&)':
/usr/include/boost/thread/pthread/thread_data.hpp:349:35: error: 'boost::chrono::steady_clock' has not been declared
349 | sleep_for(t - chrono::steady_clock::now());
| ^~~~~~~~~~~~
In file included from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/usr/include/boost/thread/pthread/condition_variable.hpp:388:45: error: 'boost::chrono::steady_clock' has not been declared
388 | return wait_until(lock, chrono::steady_clock::now() + d);
| ^~~~~~~~~~~~
/usr/include/boost/thread/pthread/condition_variable.hpp: In member function 'bool boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&, Predicate)':
/usr/include/boost/thread/pthread/condition_variable.hpp:434:45: error: 'boost::chrono::steady_clock' has not been declared
434 | return wait_until(lock, chrono::steady_clock::now() + d, boost::move(pred));
| ^~~~~~~~~~~~
In file included from ../Release/include/pplx/pplxlinux.h:27,
from ../Release/include/pplx/pplx.h:49,
from ../Release/include/pplx/pplxtasks.h:61,
from ../Release/src/pch/stdafx.h:76,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/c++/10/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/usr/include/c++/10/condition_variable:210:7: error: 'CLOCK_MONOTONIC' was not declared in this scope
210 | CLOCK_MONOTONIC,
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/asio/detail/posix_event.hpp: In member function 'bool boost::asio::detail::posix_event::wait_for_usec(Lock&, long int)':
/usr/include/boost/asio/detail/posix_event.hpp:143:13: error: '::clock_gettime' has not been declared; did you mean 'SYS_clock_gettime'?
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
| SYS_clock_gettime
/usr/include/boost/asio/detail/posix_event.hpp:143:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
143 | if (::clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:20,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/asio/detail/impl/posix_event.ipp: In constructor 'boost::asio::detail::posix_event::posix_event()':
/usr/include/boost/asio/detail/impl/posix_event.ipp:42:50: error: 'CLOCK_MONOTONIC' was not declared in this scope
42 | int error = ::pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:263,
from /usr/include/boost/asio/detail/reactor.hpp:21,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:231,
from /usr/include/boost/asio/system_context.hpp:19,
from /usr/include/boost/asio/impl/system_executor.hpp:22,
from /usr/include/boost/asio/system_executor.hpp:662,
from /usr/include/boost/asio/associated_executor.hpp:22,
from /usr/include/boost/asio/detail/bind_handler.hpp:20,
from /usr/include/boost/asio/detail/wrapped_handler.hpp:18,
from /usr/include/boost/asio/io_context.hpp:23,
from /usr/include/boost/asio/ssl/context.hpp:22,
from /usr/include/boost/asio/ssl.hpp:18,
from ../Release/include/cpprest/http_client.h:68,
from ../Release/src/pch/stdafx.h:99,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_timerfd_create()':
/usr/include/boost/asio/detail/impl/epoll_reactor.ipp:606:27: error: 'CLOCK_MONOTONIC' was not declared in this scope
606 | int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
| ^~~~~~~~~~~~~~~
In file included from ../Release/src/websockets/client/ws_client_wspp.cpp:16:
/usr/include/c++/10/thread: In function 'void std::this_thread::sleep_for(const std::chrono::duration<_Rep1, _Period1>&)':
/usr/include/c++/10/thread:401:11: error: '::nanosleep' has not been declared
401 | while (::nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
| ^~~~~~~~~
In file included from /usr/include/websocketpp/logger/basic.hpp:47,
from /usr/include/websocketpp/config/core_client.hpp:55,
from /usr/include/websocketpp/config/asio_client.hpp:31,
from ../Release/src/websockets/client/ws_client_wspp.cpp:50:
/usr/include/websocketpp/common/time.hpp: At global scope:
/usr/include/websocketpp/common/time.hpp:41:50: error: return type 'struct tm' is incomplete
41 | inline std::tm localtime(std::time_t const & time) {
| ^
/usr/include/websocketpp/common/time.hpp: In function 'void websocketpp::lib::localtime(const time_t&)':
/usr/include/websocketpp/common/time.hpp:42:13: error: aggregate 'tm tm_snapshot' has incomplete type and cannot be defined
42 | std::tm tm_snapshot;
| ^~~~~~~~~~~
/usr/include/websocketpp/common/time.hpp:48:5: error: 'localtime_r' was not declared in this scope; did you mean 'localtime'?
48 | localtime_r(&time, &tm_snapshot); // POSIX
| ^~~~~~~~~~~
| localtime
In file included from /usr/include/websocketpp/config/core_client.hpp:55,
from /usr/include/websocketpp/config/asio_client.hpp:31,
from ../Release/src/websockets/client/ws_client_wspp.cpp:50:
/usr/include/websocketpp/logger/basic.hpp: In static member function 'static std::ostream& websocketpp::log::basic<concurrency, names>::timestamp(std::ostream&)':
/usr/include/websocketpp/logger/basic.hpp:180:30: error: 'time' is not a member of 'std'; did you mean 'tie'?
180 | std::time_t t = std::time(NULL);
| ^~~~
| tie
/usr/include/websocketpp/logger/basic.hpp:186:34: error: 'strftime' is not a member of 'std'
186 | size_t result = std::strftime(buffer,sizeof(buffer),"%Y-%m-%d %H:%M:%S",&lt);
| ^~~~~~~~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp: In instantiation of 'static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]':
/usr/include/boost/date_time/microsec_time_clock.hpp:78:25: required from 'static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]'
/usr/include/boost/thread/thread_time.hpp:22:63: required from here
/usr/include/boost/date_time/microsec_time_clock.hpp:110:15: error: 'tm curr' has incomplete type
110 | std::tm curr;
| ^~~~
/usr/include/boost/date_time/microsec_time_clock.hpp:112:86: error: invalid use of incomplete type 'struct tm'
112 | date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:113:87: error: invalid use of incomplete type 'struct tm'
113 | static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:114:85: error: invalid use of incomplete type 'struct tm'
114 | static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday));
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:122:93: error: invalid use of incomplete type 'struct tm'
122 | time_duration_type td(static_cast< typename time_duration_type::hour_type >(curr_ptr->tm_hour),
| ~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:123:92: error: invalid use of incomplete type 'struct tm'
123 | static_cast< typename time_duration_type::min_type >(curr_ptr->tm_min),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/boost/thread/thread_time.hpp:10,
from /usr/include/boost/thread/detail/platform_time.hpp:11,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from ../Release/src/pch/stdafx.h:61,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/boost/date_time/microsec_time_clock.hpp:124:92: error: invalid use of incomplete type 'struct tm'
124 | static_cast< typename time_duration_type::sec_type >(curr_ptr->tm_sec),
| ~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/10/cwchar:44,
from /usr/include/c++/10/bits/postypes.h:40,
from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/memory:74,
from /usr/local/include/openssl/base.h:424,
from /usr/local/include/openssl/time.h:18,
from /usr/include/pthread.h:23,
from ../Release/src/pch/stdafx.h:47,
from ../Release/src/websockets/client/ws_client_wspp.cpp:14:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
In file included from /usr/include/websocketpp/config/core_client.hpp:55,
from /usr/include/websocketpp/config/asio_client.hpp:31,
from ../Release/src/websockets/client/ws_client_wspp.cpp:50:
/usr/include/websocketpp/logger/basic.hpp: In instantiation of 'static std::ostream& websocketpp::log::basic<concurrency, names>::timestamp(std::ostream&) [with concurrency = websocketpp::concurrency::basic; names = websocketpp::log::alevel; std::ostream = std::basic_ostream<char>]':
/usr/include/websocketpp/logger/basic.hpp:154:23: required from 'void websocketpp::log::basic<concurrency, names>::write(websocketpp::log::level, const char*) [with concurrency = websocketpp::concurrency::basic; names = websocketpp::log::alevel; websocketpp::log::level = unsigned int]'
/usr/include/websocketpp/roles/client_endpoint.hpp:74:37: required from 'websocketpp::client<config>::client() [with config = websocketpp::config::asio_tls_client]'
../Release/src/websockets/client/ws_client_wspp.cpp:792:12: required from here
/usr/include/websocketpp/logger/basic.hpp:181:17: error: 'tm lt' has incomplete type
181 | std::tm lt = lib::localtime(t);
| ^~
/usr/include/websocketpp/logger/basic.hpp: In instantiation of 'static std::ostream& websocketpp::log::basic<concurrency, names>::timestamp(std::ostream&) [with concurrency = websocketpp::concurrency::basic; names = websocketpp::log::elevel; std::ostream = std::basic_ostream<char>]':
/usr/include/websocketpp/logger/basic.hpp:140:23: required from 'void websocketpp::log::basic<concurrency, names>::write(websocketpp::log::level, const string&) [with concurrency = websocketpp::concurrency::basic; names = websocketpp::log::elevel; websocketpp::log::level = unsigned int; std::string = std::__cxx11::basic_string<char>]'
/usr/include/websocketpp/roles/client_endpoint.hpp:160:41: required from 'void websocketpp::client<config>::handle_connect(websocketpp::client<config>::connection_ptr, const std::error_code&) [with config = websocketpp::config::asio_tls_client; websocketpp::client<config>::connection_ptr = std::shared_ptr<websocketpp::connection<websocketpp::config::asio_tls_client> >]'
/usr/include/websocketpp/roles/client_endpoint.hpp:145:17: required from 'websocketpp::client<config>::connection_ptr websocketpp::client<config>::connect(websocketpp::client<config>::connection_ptr) [with config = websocketpp::config::asio_tls_client; websocketpp::client<config>::connection_ptr = std::shared_ptr<websocketpp::connection<websocketpp::config::asio_tls_client> >]'
../Release/src/websockets/client/ws_client_wspp.cpp:429:23: required from 'pplx::task<void> web::websockets::client::details::wspp_callback_client::connect_impl() [with WebsocketConfigType = websocketpp::config::asio_tls_client]'
../Release/src/websockets/client/ws_client_wspp.cpp:267:71: required from here
/usr/include/websocketpp/logger/basic.hpp:181:17: error: 'tm lt' has incomplete type
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment