Skip to content

Support boost 1.66 #124

@maxdevaine

Description

@maxdevaine

Hello,
I have problem with compile actual git version of pion on actual version Arch Linux with boost lib 1.66 :

...
../include/pion/tcp/connection.hpp:120:36: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ m_lifecycle(LIFECYCLE_CLOSE) ^ In file included from /usr/include/boost/asio/ssl/context.hpp:757:0, from /usr/include/boost/asio/ssl.hpp:18, from ../include/pion/tcp/connection.hpp:18, from ../include/pion/http/auth.hpp:21, from http_auth.cpp:11: /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&) context::context(context&& other) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) context::context(context::method m) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided In file included from ../include/pion/http/auth.hpp:21:0, from http_auth.cpp:11: ../include/pion/tcp/connection.hpp: In constructor ‘pion::tcp::connection::connection(boost::asio::io_service&, pion::tcp::connection::ssl_context_type&)’: ../include/pion/tcp/connection.hpp:140:36: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ m_lifecycle(LIFECYCLE_CLOSE) ^ In file included from /usr/include/boost/asio/ssl/context.hpp:757:0, from /usr/include/boost/asio/ssl.hpp:18, from ../include/pion/tcp/connection.hpp:18, from ../include/pion/http/auth.hpp:21, from http_auth.cpp:11: /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&) context::context(context&& other) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) context::context(context::method m) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided In file included from ../include/pion/http/auth.hpp:21:0, from http_auth.cpp:11: ../include/pion/tcp/connection.hpp: In constructor ‘pion::tcp::connection::connection(boost::asio::io_service&, pion::tcp::connection::ssl_context_type&, bool, pion::tcp::connection::connection_handler)’: ../include/pion/tcp/connection.hpp:702:44: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ m_finished_handler(finished_handler) ^ In file included from /usr/include/boost/asio/ssl/context.hpp:757:0, from /usr/include/boost/asio/ssl.hpp:18, from ../include/pion/tcp/connection.hpp:18, from ../include/pion/http/auth.hpp:21, from http_auth.cpp:11: /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&) context::context(context&& other) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) context::context(context::method m) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided make[1]: *** [Makefile:512: http_auth.lo] Error 1 make[1]: Opouští se adresář „/tmp/yaourt-tmp-max/aur-pion-git/src/pion/src“ make: *** [Makefile:524: all-recursive] Error 1

I'm not programmer, but it looks like problem with actual lib boost.
Or I'm wrong?
Thanks
Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions