Skip to content

Instantly share code, notes, and snippets.

@fd00
Created February 11, 2019 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fd00/f589f0c42f3677117d9fc3e8f43474e2 to your computer and use it in GitHub Desktop.
Save fd00/f589f0c42f3677117d9fc3e8f43474e2 to your computer and use it in GitHub Desktop.
/usr/bin/cmake.exe -H/tmp/poac -B/tmp/poac --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake.exe -E cmake_progress_start /tmp/poac/CMakeFiles /tmp/poac/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/poac'
make -f CMakeFiles/poac.dir/build.make CMakeFiles/poac.dir/depend
make[2]: Entering directory '/tmp/poac'
cd /tmp/poac && /usr/bin/cmake.exe -E cmake_depends "Unix Makefiles" /tmp/poac /tmp/poac /tmp/poac /tmp/poac /tmp/poac/CMakeFiles/poac.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/poac'
make -f CMakeFiles/poac.dir/build.make CMakeFiles/poac.dir/build
make[2]: Entering directory '/tmp/poac'
[ 50%] Building CXX object CMakeFiles/poac.dir/main.cpp.o
/usr/bin/c++.exe -DPOAC_PROJECT_ROOT=\"/tmp/poac\" -DPOAC_VERSION=\"0.1.2\" -I/usr/local/include -std=c++17 -pthread -Wall -Wextra -Werror -o CMakeFiles/poac.dir/main.cpp.o -c /tmp/poac/main.cpp
In file included from /tmp/poac/include/poac/io/file/path.hpp:12:0,
from /tmp/poac/include/poac/io/file.hpp:4,
from /tmp/poac/include/poac/core/naming.hpp:13,
from /tmp/poac/include/poac/core/resolver.hpp:22,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/tmp/poac/include/poac/util/command.hpp: In member function 'std::optional<std::basic_string<char> > poac::util::command::exec() const':
/tmp/poac/include/poac/util/command.hpp:40:30: error: 'popen' was not declared in this scope
if (FILE* pipe = popen(cmd.c_str(), "r")) {
^~~~~
/tmp/poac/include/poac/util/command.hpp:40:30: note: suggested alternative: 'fopen'
if (FILE* pipe = popen(cmd.c_str(), "r")) {
^~~~~
fopen
/tmp/poac/include/poac/util/command.hpp:43:21: error: 'pclose' was not declared in this scope
if (pclose(pipe) != 0) {
^~~~~~
/tmp/poac/include/poac/util/command.hpp:43:21: note: suggested alternative: 'close'
if (pclose(pipe) != 0) {
^~~~~~
close
In file included from /usr/include/boost/asio/detail/impl/posix_tss_ptr.ipp:24:0,
from /usr/include/boost/asio/detail/posix_tss_ptr.hpp:76,
from /usr/include/boost/asio/detail/tss_ptr.hpp:27,
from /usr/include/boost/asio/detail/call_stack.hpp:20,
from /usr/include/boost/asio/detail/thread_context.hpp:20,
from /usr/include/boost/asio/detail/recycling_allocator.hpp:20,
from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:21,
from /usr/include/boost/asio/detail/executor_op.hpp:20,
from /usr/include/boost/asio/impl/system_executor.hpp:18,
from /usr/include/boost/asio/system_executor.hpp:129,
from /usr/include/boost/asio/associated_executor.hpp:21,
from /usr/include/boost/asio.hpp:21,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/error.hpp: At global scope:
/usr/include/boost/asio/error.hpp:204:7: error: 'EAI_SERVICE' was not declared in this scope
BOOST_ASIO_GETADDRINFO_ERROR(EAI_SERVICE)),
^
/usr/include/boost/asio/error.hpp:209:7: error: 'EAI_SOCKTYPE' was not declared in this scope
BOOST_ASIO_GETADDRINFO_ERROR(EAI_SOCKTYPE))
^
/usr/include/boost/asio/error.hpp:209:7: note: suggested alternative: 'SO_TYPE'
In file included from /usr/include/boost/asio/detail/posix_fd_set_adapter.hpp:26:0,
from /usr/include/boost/asio/detail/fd_set_adapter.hpp:22,
from /usr/include/boost/asio/detail/select_reactor.hpp:27,
from /usr/include/boost/asio/detail/reactor.hpp:29,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:212,
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:129,
from /usr/include/boost/asio/associated_executor.hpp:21,
from /usr/include/boost/asio.hpp:21,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/socket_types.hpp:316:9: error: 'addrinfo' does not name a type; did you mean 'addressof'?
typedef addrinfo addrinfo_type;
^~~~~~~~
addressof
In file included from /usr/include/boost/asio/detail/signal_blocker.hpp:25:0,
from /usr/include/boost/asio/detail/impl/select_reactor.ipp:28,
from /usr/include/boost/asio/detail/select_reactor.hpp:231,
from /usr/include/boost/asio/detail/reactor.hpp:29,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:212,
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:129,
from /usr/include/boost/asio/associated_executor.hpp:21,
from /usr/include/boost/asio.hpp:21,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/posix_signal_blocker.hpp: In constructor 'boost::asio::detail::posix_signal_blocker::posix_signal_blocker()':
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:42:5: error: 'sigfillset' was not declared in this scope
sigfillset(&new_mask);
^~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:42:5: note: suggested alternative: 'sigval_t'
sigfillset(&new_mask);
^~~~~~~~~~
sigval_t
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:43:33: error: 'SIG_BLOCK' was not declared in this scope
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:43:33: note: suggested alternative: 'SHA_LBLOCK'
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~
SHA_LBLOCK
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:43:17: error: 'pthread_sigmask' was not declared in this scope
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:43:17: note: suggested alternative: 'pthread_self'
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~~~~~~~
pthread_self
/usr/include/boost/asio/detail/posix_signal_blocker.hpp: In destructor 'boost::asio::detail::posix_signal_blocker::~posix_signal_blocker()':
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:50:23: error: 'SIG_SETMASK' was not declared in this scope
pthread_sigmask(SIG_SETMASK, &old_mask_, 0);
^~~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:50:23: note: suggested alternative: 'SSL_ST_MASK'
pthread_sigmask(SIG_SETMASK, &old_mask_, 0);
^~~~~~~~~~~
SSL_ST_MASK
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:50:7: error: 'pthread_sigmask' was not declared in this scope
pthread_sigmask(SIG_SETMASK, &old_mask_, 0);
^~~~~~~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:50:7: note: suggested alternative: 'pthread_self'
pthread_sigmask(SIG_SETMASK, &old_mask_, 0);
^~~~~~~~~~~~~~~
pthread_self
/usr/include/boost/asio/detail/posix_signal_blocker.hpp: In member function 'void boost::asio::detail::posix_signal_blocker::block()':
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:59:7: error: 'sigfillset' was not declared in this scope
sigfillset(&new_mask);
^~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:59:7: note: suggested alternative: 'sigval_t'
sigfillset(&new_mask);
^~~~~~~~~~
sigval_t
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:60:35: error: 'SIG_BLOCK' was not declared in this scope
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:60:35: note: suggested alternative: 'SHA_LBLOCK'
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~
SHA_LBLOCK
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:60:19: error: 'pthread_sigmask' was not declared in this scope
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:60:19: note: suggested alternative: 'pthread_self'
blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0);
^~~~~~~~~~~~~~~
pthread_self
/usr/include/boost/asio/detail/posix_signal_blocker.hpp: In member function 'void boost::asio::detail::posix_signal_blocker::unblock()':
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:68:35: error: 'SIG_SETMASK' was not declared in this scope
blocked_ = (pthread_sigmask(SIG_SETMASK, &old_mask_, 0) != 0);
^~~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:68:35: note: suggested alternative: 'SSL_ST_MASK'
blocked_ = (pthread_sigmask(SIG_SETMASK, &old_mask_, 0) != 0);
^~~~~~~~~~~
SSL_ST_MASK
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:68:19: error: 'pthread_sigmask' was not declared in this scope
blocked_ = (pthread_sigmask(SIG_SETMASK, &old_mask_, 0) != 0);
^~~~~~~~~~~~~~~
/usr/include/boost/asio/detail/posix_signal_blocker.hpp:68:19: note: suggested alternative: 'pthread_self'
blocked_ = (pthread_sigmask(SIG_SETMASK, &old_mask_, 0) != 0);
^~~~~~~~~~~~~~~
pthread_self
In file included from /usr/include/boost/asio/detail/impl/select_reactor.ipp:29:0,
from /usr/include/boost/asio/detail/select_reactor.hpp:231,
from /usr/include/boost/asio/detail/reactor.hpp:29,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:212,
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:129,
from /usr/include/boost/asio/associated_executor.hpp:21,
from /usr/include/boost/asio.hpp:21,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/socket_ops.hpp: At global scope:
/usr/include/boost/asio/detail/socket_ops.hpp:292:32: error: 'addrinfo_type' does not name a type; did you mean '__tzinfo_type'?
const char* service, const addrinfo_type& hints,
^~~~~~~~~~~~~
__tzinfo_type
/usr/include/boost/asio/detail/socket_ops.hpp:293:5: error: 'addrinfo_type' has not been declared
addrinfo_type** result, boost::system::error_code& ec);
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:297:32: error: 'addrinfo_type' does not name a type; did you mean '__tzinfo_type'?
const char* service, const addrinfo_type& hints,
^~~~~~~~~~~~~
__tzinfo_type
/usr/include/boost/asio/detail/socket_ops.hpp:298:5: error: 'addrinfo_type' has not been declared
addrinfo_type** result, boost::system::error_code& ec);
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:300:35: error: variable or field 'freeaddrinfo' declared void
BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:300:35: error: 'addrinfo_type' was not declared in this scope
/usr/include/boost/asio/detail/socket_ops.hpp:300:35: note: suggested alternative: '__tzinfo_type'
BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
^~~~~~~~~~~~~
__tzinfo_type
/usr/include/boost/asio/detail/socket_ops.hpp:300:50: error: 'ai' was not declared in this scope
BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
^~
/usr/include/boost/asio/detail/socket_ops.hpp:300:50: note: suggested alternative: 'abi'
BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
^~
abi
In file included from /usr/include/boost/asio/detail/socket_ops.hpp:336:0,
from /usr/include/boost/asio/detail/impl/select_reactor.ipp:29,
from /usr/include/boost/asio/detail/select_reactor.hpp:231,
from /usr/include/boost/asio/detail/reactor.hpp:29,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:212,
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:129,
from /usr/include/boost/asio/associated_executor.hpp:21,
from /usr/include/boost/asio.hpp:21,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::gethostname(char*, int, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/socket_ops.ipp:2401:32: error: '::gethostname' has not been declared
int result = error_wrapper(::gethostname(name, namelen), ec);
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:2401:32: note: suggested alternative:
/usr/include/boost/asio/detail/impl/socket_ops.ipp:2368:5: note: 'boost::asio::detail::socket_ops::gethostname'
int gethostname(char* name, int namelen, boost::system::error_code& ec)
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::translate_addrinfo_error(int)':
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3262:8: error: 'EAI_AGAIN' was not declared in this scope
case EAI_AGAIN:
^~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3262:8: note: suggested alternative: 'EAGAIN'
case EAI_AGAIN:
^~~~~~~~~
EAGAIN
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3264:8: error: 'EAI_BADFLAGS' was not declared in this scope
case EAI_BADFLAGS:
^~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3264:8: note: suggested alternative: 'IN_BADCLASS'
case EAI_BADFLAGS:
^~~~~~~~~~~~
IN_BADCLASS
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3266:8: error: 'EAI_FAIL' was not declared in this scope
case EAI_FAIL:
^~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3266:8: note: suggested alternative: 'EINVAL'
case EAI_FAIL:
^~~~~~~~
EINVAL
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3268:8: error: 'EAI_FAMILY' was not declared in this scope
case EAI_FAMILY:
^~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3270:8: error: 'EAI_MEMORY' was not declared in this scope
case EAI_MEMORY:
^~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3270:8: note: suggested alternative: 'ETIMEDOUT'
case EAI_MEMORY:
^~~~~~~~~~
ETIMEDOUT
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3272:8: error: 'EAI_NONAME' was not declared in this scope
case EAI_NONAME:
^~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3272:8: note: suggested alternative: 'DST_NONE'
case EAI_NONAME:
^~~~~~~~~~
DST_NONE
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3280:8: error: 'EAI_SERVICE' was not declared in this scope
case EAI_SERVICE:
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3282:8: error: 'EAI_SOCKTYPE' was not declared in this scope
case EAI_SOCKTYPE:
^~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3282:8: note: suggested alternative: 'SO_TYPE'
case EAI_SOCKTYPE:
^~~~~~~~~~~~
SO_TYPE
/usr/include/boost/asio/detail/impl/socket_ops.ipp: At global scope:
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3296:32: error: 'addrinfo_type' does not name a type; did you mean '__tzinfo_type'?
const char* service, const addrinfo_type& hints,
^~~~~~~~~~~~~
__tzinfo_type
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3297:5: error: 'addrinfo_type' has not been declared
addrinfo_type** result, boost::system::error_code& ec)
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getaddrinfo(const char*, const char*, const int&, int**, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3326:17: error: '::getaddrinfo' has not been declared
int error = ::getaddrinfo(host, service, &hints, result);
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3326:17: note: suggested alternative:
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3295:27: note: 'boost::asio::detail::socket_ops::getaddrinfo'
boost::system::error_code getaddrinfo(const char* host,
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp: At global scope:
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3364:32: error: 'addrinfo_type' does not name a type; did you mean '__tzinfo_type'?
const char* service, const addrinfo_type& hints,
^~~~~~~~~~~~~
__tzinfo_type
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3365:5: error: 'addrinfo_type' has not been declared
addrinfo_type** result, boost::system::error_code& ec)
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3374:19: error: variable or field 'freeaddrinfo' declared void
void freeaddrinfo(addrinfo_type* ai)
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3374:19: error: 'addrinfo_type' was not declared in this scope
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3374:19: note: suggested alternative: '__tzinfo_type'
void freeaddrinfo(addrinfo_type* ai)
^~~~~~~~~~~~~
__tzinfo_type
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3374:34: error: 'ai' was not declared in this scope
void freeaddrinfo(addrinfo_type* ai)
^~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3374:34: note: suggested alternative: 'abi'
void freeaddrinfo(addrinfo_type* ai)
^~
abi
/usr/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::getnameinfo(const socket_addr_type*, std::size_t, char*, std::size_t, char*, std::size_t, int, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3441:17: error: '::getnameinfo' has not been declared
int error = ::getnameinfo(addr, addrlen, host, hostlen, serv, servlen, flags);
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3441:17: note: suggested alternative:
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3400:27: note: 'boost::asio::detail::socket_ops::getnameinfo'
boost::system::error_code getnameinfo(const socket_addr_type* addr,
^~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::sync_getnameinfo(const socket_addr_type*, std::size_t, char*, std::size_t, char*, std::size_t, int, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3453:43: error: 'NI_DGRAM' was not declared in this scope
int flags = (sock_type == SOCK_DGRAM) ? NI_DGRAM : 0;
^~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3453:43: note: suggested alternative: 'EIDRM'
int flags = (sock_type == SOCK_DGRAM) ? NI_DGRAM : 0;
^~~~~~~~
EIDRM
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3459:32: error: 'NI_NUMERICSERV' was not declared in this scope
serv, servlen, flags | NI_NUMERICSERV, ec);
^~~~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3459:32: note: suggested alternative: 'LC_NUMERIC'
serv, servlen, flags | NI_NUMERICSERV, ec);
^~~~~~~~~~~~~~
LC_NUMERIC
/usr/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::system::error_code boost::asio::detail::socket_ops::background_getnameinfo(const weak_cancel_token_type&, const socket_addr_type*, std::size_t, char*, std::size_t, char*, std::size_t, int, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3479:45: error: 'NI_DGRAM' was not declared in this scope
int flags = (sock_type == SOCK_DGRAM) ? NI_DGRAM : 0;
^~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3479:45: note: suggested alternative: 'EIDRM'
int flags = (sock_type == SOCK_DGRAM) ? NI_DGRAM : 0;
^~~~~~~~
EIDRM
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3485:34: error: 'NI_NUMERICSERV' was not declared in this scope
serv, servlen, flags | NI_NUMERICSERV, ec);
^~~~~~~~~~~~~~
/usr/include/boost/asio/detail/impl/socket_ops.ipp:3485:34: note: suggested alternative: 'LC_NUMERIC'
serv, servlen, flags | NI_NUMERICSERV, ec);
^~~~~~~~~~~~~~
LC_NUMERIC
In file included from /usr/include/boost/asio/detail/posix_fd_set_adapter.hpp:26:0,
from /usr/include/boost/asio/detail/fd_set_adapter.hpp:22,
from /usr/include/boost/asio/detail/select_reactor.hpp:27,
from /usr/include/boost/asio/detail/reactor.hpp:29,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:23,
from /usr/include/boost/asio/detail/scheduler.hpp:212,
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:129,
from /usr/include/boost/asio/associated_executor.hpp:21,
from /usr/include/boost/asio.hpp:21,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/ip/resolver_base.hpp: At global scope:
/usr/include/boost/asio/ip/resolver_base.hpp:65:22: error: 'AI_CANONNAME' was not declared in this scope
canonical_name = BOOST_ASIO_OS_DEF(AI_CANONNAME),
^
/usr/include/boost/asio/ip/resolver_base.hpp:65:22: note: suggested alternative: 'ICANON'
/usr/include/boost/asio/ip/resolver_base.hpp:66:15: error: 'AI_PASSIVE' was not declared in this scope
passive = BOOST_ASIO_OS_DEF(AI_PASSIVE),
^
/usr/include/boost/asio/ip/resolver_base.hpp:66:15: note: suggested alternative: 'SO_PASSCRED'
/usr/include/boost/asio/ip/resolver_base.hpp:67:20: error: 'AI_NUMERICHOST' was not declared in this scope
numeric_host = BOOST_ASIO_OS_DEF(AI_NUMERICHOST),
^
/usr/include/boost/asio/ip/resolver_base.hpp:67:20: note: suggested alternative: 'LC_NUMERIC'
In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:28:0,
from /usr/include/boost/asio.hpp:80,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/ip/basic_resolver_query.hpp:217:30: error: 'addrinfo_type' in namespace 'boost::asio::detail' does not name a type
const boost::asio::detail::addrinfo_type& hints() const
^~~~~~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:235:24: error: 'addrinfo_type' in namespace 'boost::asio::detail' does not name a type
boost::asio::detail::addrinfo_type hints_;
^~~~~~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp: In constructor 'boost::asio::ip::basic_resolver_query<InternetProtocol>::basic_resolver_query(const string&, boost::asio::ip::resolver_base::flags)':
/usr/include/boost/asio/ip/basic_resolver_query.hpp:65:7: error: class 'boost::asio::ip::basic_resolver_query<InternetProtocol>' does not have any field named 'hints_'
: hints_(),
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:70:5: error: 'hints_' was not declared in this scope
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:70:5: note: suggested alternative: 'uint_t'
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
uint_t
/usr/include/boost/asio/ip/basic_resolver_query.hpp: In constructor 'boost::asio::ip::basic_resolver_query<InternetProtocol>::basic_resolver_query(const protocol_type&, const string&, boost::asio::ip::resolver_base::flags)':
/usr/include/boost/asio/ip/basic_resolver_query.hpp:103:7: error: class 'boost::asio::ip::basic_resolver_query<InternetProtocol>' does not have any field named 'hints_'
: hints_(),
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:107:5: error: 'hints_' was not declared in this scope
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:107:5: note: suggested alternative: 'uint_t'
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
uint_t
/usr/include/boost/asio/ip/basic_resolver_query.hpp: In constructor 'boost::asio::ip::basic_resolver_query<InternetProtocol>::basic_resolver_query(const string&, const string&, boost::asio::ip::resolver_base::flags)':
/usr/include/boost/asio/ip/basic_resolver_query.hpp:150:7: error: class 'boost::asio::ip::basic_resolver_query<InternetProtocol>' does not have any field named 'hints_'
: hints_(),
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:155:5: error: 'hints_' was not declared in this scope
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:155:5: note: suggested alternative: 'uint_t'
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
uint_t
/usr/include/boost/asio/ip/basic_resolver_query.hpp: In constructor 'boost::asio::ip::basic_resolver_query<InternetProtocol>::basic_resolver_query(const protocol_type&, const string&, const string&, boost::asio::ip::resolver_base::flags)':
/usr/include/boost/asio/ip/basic_resolver_query.hpp:202:7: error: class 'boost::asio::ip::basic_resolver_query<InternetProtocol>' does not have any field named 'hints_'
: hints_(),
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:206:5: error: 'hints_' was not declared in this scope
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
/usr/include/boost/asio/ip/basic_resolver_query.hpp:206:5: note: suggested alternative: 'uint_t'
hints_.ai_flags = static_cast<int>(resolve_flags);
^~~~~~
uint_t
In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:29:0,
from /usr/include/boost/asio.hpp:80,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/ip/basic_resolver_results.hpp: At global scope:
/usr/include/boost/asio/ip/basic_resolver_results.hpp:126:7: error: 'boost::asio::detail::addrinfo_type' has not been declared
boost::asio::detail::addrinfo_type* address_info,
^~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp: In static member function 'static boost::asio::ip::basic_resolver_results<InternetProtocol> boost::asio::ip::basic_resolver_results<InternetProtocol>::create(int*, const string&, const string&)':
/usr/include/boost/asio/ip/basic_resolver_results.hpp:134:23: error: request for member 'ai_canonname' in 'address_info->', which is of non-class type 'int'
if (address_info->ai_canonname)
^~~~~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:135:40: error: request for member 'ai_canonname' in 'address_info->', which is of non-class type 'int'
actual_host_name = address_info->ai_canonname;
^~~~~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:141:25: error: request for member 'ai_family' in 'address_info->', which is of non-class type 'int'
if (address_info->ai_family == BOOST_ASIO_OS_DEF(AF_INET)
^~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:142:28: error: request for member 'ai_family' in 'address_info->', which is of non-class type 'int'
|| address_info->ai_family == BOOST_ASIO_OS_DEF(AF_INET6))
^~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:146:64: error: request for member 'ai_addrlen' in 'address_info->', which is of non-class type 'int'
endpoint.resize(static_cast<std::size_t>(address_info->ai_addrlen));
^~~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:147:47: error: request for member 'ai_addr' in 'address_info->', which is of non-class type 'int'
memcpy(endpoint.data(), address_info->ai_addr,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:148:27: error: request for member 'ai_addrlen' in 'address_info->', which is of non-class type 'int'
address_info->ai_addrlen);
^~~~~~~~~~
/usr/include/boost/asio/ip/basic_resolver_results.hpp:153:36: error: request for member 'ai_next' in 'address_info->', which is of non-class type 'int'
address_info = address_info->ai_next;
^~~~~~~
In file included from /usr/include/boost/asio/detail/resolver_service.hpp:26:0,
from /usr/include/boost/asio/ip/basic_resolver.hpp:44,
from /usr/include/boost/asio.hpp:80,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp: In static member function 'static void boost::asio::detail::resolve_endpoint_op<Protocol, Handler>::do_complete(void*, boost::asio::detail::operation*, const boost::system::error_code&, std::size_t)':
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:71:22: error: 'NI_MAXHOST' was not declared in this scope
char host_name[NI_MAXHOST];
^~~~~~~~~~
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:72:25: error: 'NI_MAXSERV' was not declared in this scope
char service_name[NI_MAXSERV];
^~~~~~~~~~
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:72:25: note: suggested alternative: 'SI_USER'
char service_name[NI_MAXSERV];
^~~~~~~~~~
SI_USER
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:74:32: error: 'host_name' was not declared in this scope
o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:74:32: note: suggested alternative: 'is_same'
o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~
is_same
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:74:55: error: 'service_name' was not declared in this scope
o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~~~~
/usr/include/boost/asio/detail/resolve_endpoint_op.hpp:74:55: note: suggested alternative: 'service_base'
o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~~~~
service_base
In file included from /usr/include/boost/asio/detail/resolver_service.hpp:27:0,
from /usr/include/boost/asio/ip/basic_resolver.hpp:44,
from /usr/include/boost/asio.hpp:80,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/resolve_query_op.hpp: At global scope:
/usr/include/boost/asio/detail/resolve_query_op.hpp:127:24: error: 'addrinfo_type' in namespace 'boost::asio::detail' does not name a type
boost::asio::detail::addrinfo_type* addrinfo_;
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/resolve_query_op.hpp: In constructor 'boost::asio::detail::resolve_query_op<Protocol, Handler>::resolve_query_op(boost::asio::detail::socket_ops::weak_cancel_token_type, const query_type&, boost::asio::detail::io_context_impl&, Handler&)':
/usr/include/boost/asio/detail/resolve_query_op.hpp:53:7: error: class 'boost::asio::detail::resolve_query_op<Protocol, Handler>' does not have any field named 'addrinfo_'
addrinfo_(0)
^~~~~~~~~
/usr/include/boost/asio/detail/resolve_query_op.hpp: In destructor 'boost::asio::detail::resolve_query_op<Protocol, Handler>::~resolve_query_op()':
/usr/include/boost/asio/detail/resolve_query_op.hpp:60:9: error: 'addrinfo_' was not declared in this scope
if (addrinfo_)
^~~~~~~~~
/usr/include/boost/asio/detail/resolve_query_op.hpp:60:9: note: suggested alternative: 'addressof'
if (addrinfo_)
^~~~~~~~~
addressof
/usr/include/boost/asio/detail/resolve_query_op.hpp:61:19: error: 'freeaddrinfo' is not a member of 'boost::asio::detail::socket_ops'
socket_ops::freeaddrinfo(addrinfo_);
^~~~~~~~~~~~
/usr/include/boost/asio/detail/resolve_query_op.hpp:61:19: note: suggested alternative: 'getaddrinfo'
socket_ops::freeaddrinfo(addrinfo_);
^~~~~~~~~~~~
getaddrinfo
In file included from /usr/include/boost/asio/detail/resolver_service.hpp:28:0,
from /usr/include/boost/asio/ip/basic_resolver.hpp:44,
from /usr/include/boost/asio.hpp:80,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/resolver_service_base.hpp: At global scope:
/usr/include/boost/asio/detail/resolver_service_base.hpp:84:62: error: expected ')' before '*' token
explicit auto_addrinfo(boost::asio::detail::addrinfo_type* ai)
^
/usr/include/boost/asio/detail/resolver_service_base.hpp:95:35: error: 'addrinfo_type' in namespace 'boost::asio::detail' does not name a type
operator boost::asio::detail::addrinfo_type*()
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service_base.hpp:101:26: error: 'addrinfo_type' in namespace 'boost::asio::detail' does not name a type
boost::asio::detail::addrinfo_type* ai_;
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service_base.hpp: In destructor 'boost::asio::detail::resolver_service_base::auto_addrinfo::~auto_addrinfo()':
/usr/include/boost/asio/detail/resolver_service_base.hpp:91:11: error: 'ai_' was not declared in this scope
if (ai_)
^~~
/usr/include/boost/asio/detail/resolver_service_base.hpp:92:21: error: 'freeaddrinfo' is not a member of 'boost::asio::detail::socket_ops'
socket_ops::freeaddrinfo(ai_);
^~~~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service_base.hpp:92:21: note: suggested alternative: 'getaddrinfo'
socket_ops::freeaddrinfo(ai_);
^~~~~~~~~~~~
getaddrinfo
In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:44:0,
from /usr/include/boost/asio.hpp:80,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/resolver_service.hpp: In member function 'boost::asio::detail::resolver_service<Protocol>::results_type boost::asio::detail::resolver_service<Protocol>::resolve(boost::asio::detail::resolver_service<Protocol>::implementation_type&, const query_type&, boost::system::error_code&)':
/usr/include/boost/asio/detail/resolver_service.hpp:78:26: error: 'addrinfo_type' is not a member of 'boost::asio::detail'
boost::asio::detail::addrinfo_type* address_info = 0;
^~~~~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service.hpp:78:41: error: 'address_info' was not declared in this scope
boost::asio::detail::addrinfo_type* address_info = 0;
^~~~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service.hpp:78:41: note: suggested alternative: 'addressof'
boost::asio::detail::addrinfo_type* address_info = 0;
^~~~~~~~~~~~
addressof
/usr/include/boost/asio/detail/resolver_service.hpp: In member function 'boost::asio::detail::resolver_service<Protocol>::results_type boost::asio::detail::resolver_service<Protocol>::resolve(boost::asio::detail::resolver_service<Protocol>::implementation_type&, const endpoint_type&, boost::system::error_code&)':
/usr/include/boost/asio/detail/resolver_service.hpp:110:20: error: 'NI_MAXHOST' was not declared in this scope
char host_name[NI_MAXHOST];
^~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service.hpp:111:23: error: 'NI_MAXSERV' was not declared in this scope
char service_name[NI_MAXSERV];
^~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service.hpp:111:23: note: suggested alternative: 'SI_USER'
char service_name[NI_MAXSERV];
^~~~~~~~~~
SI_USER
/usr/include/boost/asio/detail/resolver_service.hpp:113:9: error: 'host_name' was not declared in this scope
host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~
/usr/include/boost/asio/detail/resolver_service.hpp:113:9: note: suggested alternative: 'is_same'
host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~
is_same
/usr/include/boost/asio/detail/resolver_service.hpp:113:32: error: 'service_name' was not declared in this scope
host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~~~~
/usr/include/boost/asio/detail/resolver_service.hpp:113:32: note: suggested alternative: 'service_base'
host_name, NI_MAXHOST, service_name, NI_MAXSERV,
^~~~~~~~~~~~
service_base
In file included from /usr/include/boost/asio/detail/signal_set_service.hpp:214:0,
from /usr/include/boost/asio/signal_set.hpp:30,
from /usr/include/boost/asio.hpp:118,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/detail/impl/signal_set_service.ipp: In member function 'boost::system::error_code boost::asio::detail::signal_set_service::add(boost::asio::detail::signal_set_service::implementation_type&, int, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:267:24: error: aggregate 'boost::asio::detail::signal_set_service::add(boost::asio::detail::signal_set_service::implementation_type&, int, boost::system::error_code&)::sigaction sa' has incomplete type and cannot be defined
struct sigaction sa;
^~
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:270:7: error: 'sigfillset' was not declared in this scope
sigfillset(&sa.sa_mask);
^~~~~~~~~~
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:270:7: note: suggested alternative: 'sigval_t'
sigfillset(&sa.sa_mask);
^~~~~~~~~~
sigval_t
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:271:13: error: '::sigaction' has not been declared
if (::sigaction(signal_number, &sa, 0) == -1)
^~~~~~~~~
/usr/include/boost/asio/detail/impl/signal_set_service.ipp: In member function 'boost::system::error_code boost::asio::detail::signal_set_service::remove(boost::asio::detail::signal_set_service::implementation_type&, int, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:338:24: error: aggregate 'boost::asio::detail::signal_set_service::remove(boost::asio::detail::signal_set_service::implementation_type&, int, boost::system::error_code&)::sigaction sa' has incomplete type and cannot be defined
struct sigaction sa;
^~
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:341:13: error: '::sigaction' has not been declared
if (::sigaction(signal_number, &sa, 0) == -1)
^~~~~~~~~
/usr/include/boost/asio/detail/impl/signal_set_service.ipp: In member function 'boost::system::error_code boost::asio::detail::signal_set_service::clear(boost::asio::detail::signal_set_service::implementation_type&, boost::system::error_code&)':
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:392:24: error: aggregate 'boost::asio::detail::signal_set_service::clear(boost::asio::detail::signal_set_service::implementation_type&, boost::system::error_code&)::sigaction sa' has incomplete type and cannot be defined
struct sigaction sa;
^~
/usr/include/boost/asio/detail/impl/signal_set_service.ipp:395:13: error: '::sigaction' has not been declared
if (::sigaction(reg->signal_number_, &sa, 0) == -1)
^~~~~~~~~
In file included from /tmp/poac/include/poac/core/resolver.hpp:26:0,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/tmp/poac/include/poac/io/network.hpp: In function 'typename ResponseBody::value_type poac::io::network::request(boost::beast::http::request<RequestBody>&, std::string_view)':
/tmp/poac/include/poac/io/network.hpp:62:57: error: no matching function for call to 'boost::asio::ip::basic_resolver<boost::asio::ip::tcp>::resolve(std::string_view&, const char* const&)'
const auto results = resolver.resolve(host, port);
^
In file included from /usr/include/boost/asio.hpp:80:0,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/ip/basic_resolver.hpp:214:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const query&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::query = boost::asio::ip::basic_resolver_query<boost::asio::ip::tcp>]
results_type resolve(const query& q)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:214:16: note: candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:235:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const query&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::query = boost::asio::ip::basic_resolver_query<boost::asio::ip::tcp>]
results_type resolve(const query& q, boost::system::error_code& ec)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:235:16: note: no known conversion for argument 1 from 'std::string_view {aka std::basic_string_view<char>}' to 'const query& {aka const boost::asio::ip::basic_resolver_query<boost::asio::ip::tcp>&}'
/usr/include/boost/asio/ip/basic_resolver.hpp:274:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:274:16: note: no known conversion for argument 1 from 'std::string_view {aka std::basic_string_view<char>}' to 'std::experimental::fundamentals_v1::string_view {aka std::experimental::fundamentals_v1::basic_string_view<char>}'
/usr/include/boost/asio/ip/basic_resolver.hpp:313:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:313:16: note: candidate expects 3 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:356:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:356:16: note: candidate expects 3 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:405:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:405:16: note: candidate expects 4 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:450:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:450:16: note: candidate expects 3 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:492:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:492:16: note: candidate expects 4 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:539:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:539:16: note: candidate expects 4 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:593:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:593:16: note: candidate expects 5 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:932:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const endpoint_type&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::endpoint_type = boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>]
results_type resolve(const endpoint_type& e)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:932:16: note: candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:955:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const endpoint_type&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::endpoint_type = boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>]
results_type resolve(const endpoint_type& e, boost::system::error_code& ec)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:955:16: note: no known conversion for argument 1 from 'std::string_view {aka std::basic_string_view<char>}' to 'const endpoint_type& {aka const boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>&}'
In file included from /tmp/poac/include/poac/core/resolver.hpp:26:0,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/tmp/poac/include/poac/io/network.hpp: In function 'std::string poac::io::network::post_file(const string&, const boost::filesystem::path&, std::string_view, std::string_view)':
/tmp/poac/include/poac/io/network.hpp:196:57: error: no matching function for call to 'boost::asio::ip::basic_resolver<boost::asio::ip::tcp>::resolve(std::string_view&, const char* const&)'
const auto results = resolver.resolve(host, port);
^
In file included from /usr/include/boost/asio.hpp:80:0,
from /tmp/poac/include/poac/io/network.hpp:14,
from /tmp/poac/include/poac/core/resolver.hpp:26,
from /tmp/poac/include/poac/core/lock.hpp:11,
from /tmp/poac/include/poac/subcmd/build.hpp:13,
from /tmp/poac/include/poac/subcmd.hpp:4,
from /tmp/poac/include/poac/core/inference.hpp:14,
from /tmp/poac/include/poac/core.hpp:5,
from /tmp/poac/include/poac/poac.hpp:5,
from /tmp/poac/main.cpp:7:
/usr/include/boost/asio/ip/basic_resolver.hpp:214:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const query&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::query = boost::asio::ip::basic_resolver_query<boost::asio::ip::tcp>]
results_type resolve(const query& q)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:214:16: note: candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:235:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const query&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::query = boost::asio::ip::basic_resolver_query<boost::asio::ip::tcp>]
results_type resolve(const query& q, boost::system::error_code& ec)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:235:16: note: no known conversion for argument 1 from 'std::string_view {aka std::basic_string_view<char>}' to 'const query& {aka const boost::asio::ip::basic_resolver_query<boost::asio::ip::tcp>&}'
/usr/include/boost/asio/ip/basic_resolver.hpp:274:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:274:16: note: no known conversion for argument 1 from 'std::string_view {aka std::basic_string_view<char>}' to 'std::experimental::fundamentals_v1::string_view {aka std::experimental::fundamentals_v1::basic_string_view<char>}'
/usr/include/boost/asio/ip/basic_resolver.hpp:313:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:313:16: note: candidate expects 3 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:356:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:356:16: note: candidate expects 3 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:405:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(BOOST_ASIO_STRING_VIEW_PARAM host,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:405:16: note: candidate expects 4 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:450:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:450:16: note: candidate expects 3 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:492:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:492:16: note: candidate expects 4 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:539:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:539:16: note: candidate expects 4 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:593:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const protocol_type&, std::experimental::fundamentals_v1::string_view, std::experimental::fundamentals_v1::string_view, boost::asio::ip::resolver_base::flags, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::protocol_type = boost::asio::ip::tcp; std::experimental::fundamentals_v1::string_view = std::experimental::fundamentals_v1::basic_string_view<char>]
results_type resolve(const protocol_type& protocol,
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:593:16: note: candidate expects 5 arguments, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:932:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const endpoint_type&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::endpoint_type = boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>]
results_type resolve(const endpoint_type& e)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:932:16: note: candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ip/basic_resolver.hpp:955:16: note: candidate: boost::asio::ip::basic_resolver<InternetProtocol>::results_type boost::asio::ip::basic_resolver<InternetProtocol>::resolve(const endpoint_type&, boost::system::error_code&) [with InternetProtocol = boost::asio::ip::tcp; boost::asio::ip::basic_resolver<InternetProtocol>::results_type = boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>; boost::asio::ip::basic_resolver<InternetProtocol>::endpoint_type = boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>]
results_type resolve(const endpoint_type& e, boost::system::error_code& ec)
^~~~~~~
/usr/include/boost/asio/ip/basic_resolver.hpp:955:16: note: no known conversion for argument 1 from 'std::string_view {aka std::basic_string_view<char>}' to 'const endpoint_type& {aka const boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>&}'
make[2]: *** [CMakeFiles/poac.dir/build.make:63: CMakeFiles/poac.dir/main.cpp.o] Error 1
make[2]: Leaving directory '/tmp/poac'
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/poac.dir/all] Error 2
make[1]: Leaving directory '/tmp/poac'
make: *** [Makefile:128: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment