Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compilation on Boost version: 1.69.0 GNU 5.4.0 #36

Open
sebastianpszczolka opened this issue Jun 15, 2020 · 0 comments
Open

Error compilation on Boost version: 1.69.0 GNU 5.4.0 #36

sebastianpszczolka opened this issue Jun 15, 2020 · 0 comments

Comments

@sebastianpszczolka
Copy link

Hi,
-- The CXX compiler identification is GNU 5.4.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.69.0 -- Found the following Boost libraries: -- system -- thread -- chrono -- date_time -- atomic CXX=/usr/bin/c++ CXXFLAGS= -std=c++14 -Wall CMAKE_BUILD_TYPE=Debug -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g") found components: SSL Crypto -- Boost version: 1.69.0 -- Found the following Boost libraries: -- unit_test_framework -- Boost version: 1.69.0 -- Found the following Boost libraries: -- unit_test_framework -- Boost version: 1.69.0 -- Found the following Boost libraries: -- unit_test_framework -- Boost version: 1.69.0 -- Found the following Boost libraries: -- unit_test_framework -- Configuring done -- Generating done

/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/examples/reactor/main.cxx: In instantiation of ‘main()::<lambda(auto:41)> [with auto:41 = boost::asio::basic_stream_socketboost::asio::ip::tcp]’:
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/base/traits.hxx:448:37: required by substitution of ‘template<class auto:1, class ... auto:2> _0xdead4ead::http::base::traits::detail::tryInvoke(F&&, Args&& ...)::<lambda(auto:1&&, auto:2&& ...)> [with auto:1 = const main()::<lambda(auto:41)>&; auto:2 = {boost::asio::basic_stream_socketboost::asio::ip::tcp}]’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/base/traits.hxx:32:26: required by substitution of ‘template<class R, class F, class ... Args> typename std::enable_if<(std::is_convertible<typename _0xdead4ead::http::base::traits::detail::invoke_result<decltype (f)(decltype (args)...)>::type, R>::value || std::is_same<R, void>::value), std::integral_constant<bool, true> >::type _0xdead4ead::http::base::traits::detail::is_invocable_impl(F&&, int, Args&& ...) [with R = void; F = _0xdead4ead::http::base::traits::detail::tryInvoke(F&&, Args&& ...) [with R = void; F = const main()::<lambda(auto:41)>&; Args = {boost::asio::basic_stream_socketboost::asio::ip::tcp}]::<lambda(auto:1&&, auto:2&& ...)>; Args = {const main()::<lambda(auto:41)>&, boost::asio::basic_stream_socketboost::asio::ip::tcp}]’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/base/traits.hxx:56:36: required from ‘struct _0xdead4ead::http::base::traits::detail::is_invocable<_0xdead4ead::http::base::traits::detail::tryInvoke(F&&, Args&& ...) [with R = void; F = const main()::<lambda(auto:41)>&; Args = {boost::asio::basic_stream_socketboost::asio::ip::tcp}]::<lambda(auto:1&&, auto:2&& ...)>, void(const main()::<lambda(auto:41)>&, boost::asio::basic_stream_socketboost::asio::ip::tcp&&)>’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/base/traits.hxx:432:55: required from ‘constexpr auto _0xdead4ead::http::base::traits::detail::validity_checker<R, F>::operator()(Args&& ...) const [with Args = {const main()::<lambda(auto:41)>&, boost::asio::basic_stream_socketboost::asio::ip::tcp}; R = void; F = _0xdead4ead::http::base::traits::detail::tryInvoke(F&&, Args&& ...) [with R = void; F = const main()::<lambda(auto:41)>&; Args = {boost::asio::basic_stream_socketboost::asio::ip::tcp}]::<lambda(auto:1&&, auto:2&& ...)>]’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/base/traits.hxx:449:13: required from ‘constexpr auto _0xdead4ead::http::base::traits::detail::tryInvoke(F&&, Args&& ...) [with R = void; F = const main()::<lambda(auto:41)>&; Args = {boost::asio::basic_stream_socketboost::asio::ip::tcp}]’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/base/traits.hxx:746:37: required from ‘struct _0xdead4ead::http::base::traits::TryInvoke<const main()::<lambda(auto:41)>&, void(boost::asio::basic_stream_socketboost::asio::ip::tcp)>’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/reactor/impl/listener.hxx:31:1: required by substitution of ‘template _0xdead4ead::http::reactor::listener<OnAccept, OnError, Protocol, Acceptor, Socket, Endpoint>::listener(_0xdead4ead::http::reactor::listener<OnAccept, OnError, Protocol, Acceptor, Socket, Endpoint>::io_context&, _OnAccept&&, typename std::enable_if<_0xdead4ead::http::base::traits::TryInvoke<_OnAccept, void(Socket)>::value, int>::type) [with _OnAccept = const main()::<lambda(auto:41)>&]’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/../include/http/reactor/impl/listener.hxx:22:77: required by substitution of ‘template<class ... _OnAction> static decltype ((_0xdead4ead::http::reactor::listener<OnAccept, OnError, Protocol, Acceptor, Socket, Endpoint>::self_type{declval<_0xdead4ead::http::reactor::listener<OnAccept, OnError, Protocol, Acceptor, Socket, Endpoint>::io_context&>(), (declval<_OnAction>)()...}, void())) _0xdead4ead::http::reactor::listener<OnAccept, OnError, Protocol, Acceptor, Socket, Endpoint>::launch(_0xdead4ead::http::reactor::listener<OnAccept, OnError, Protocol, Acceptor, Socket, Endpoint>::io_context&, const endpoint_type&, _OnAction&& ...) [with _OnAction = {const main()::<lambda(auto:41)>&, const main()::<lambda(auto:39, auto:40)>&}]’
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/examples/reactor/main.cxx:97:65: required from here
/home/sp/imx_unification/tmp/ClionProjects/httpbeast/BeastHttp/BeastHttp/src/examples/reactor/main.cxx:86:26: error: no matching function for call to ‘_0xdead4ead::http::reactor::session<>::recv(std::remove_reference<boost::asio::basic_stream_socketboost::asio::ip::tcp&>::type, _0xdead4ead::http::basic_router<_0xdead4ead::http::reactor::session<> >&, const main()::<lambda(auto:39, auto:40)>&)’
HttpSession::recv(std::move(asioSocket), router, onError);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant