Skip to content

Fails to build: Boost >=1.70.0 has removed boost/asio/handler_type.hpp #4

@abgault

Description

@abgault

Boost has deprecated the handler_type with the note "(Deprecated: Use two-parameter version of async_result.)".

Build output:

In file included from /dev/pusher-cpp/pusher++/examples/server.cpp:6:
/dev/pusher-cpp/pusher++/include/pusher++/server.hpp:14:10: fatal error: 'boost/asio/handler_type.hpp' file not found
#include <boost/asio/handler_type.hpp>

In file included from /dev/pusher-cpp/pusher++/test/test_coroutine.cpp:11:
/dev/pusher-cpp/pusher++/include/pusher++/client.hpp:12:10: fatal error: 'boost/asio/handler_type.hpp' file not found
#include <boost/asio/handler_type.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /dev/pusher-cpp/pusher++/examples/client.cpp:7:
/dev/pusher-cpp/pusher++/include/pusher++/client.hpp:12:10: fatal error: 'boost/asio/handler_type.hpp' file not found
#include <boost/asio/handler_type.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /dev/pusher-cpp/pusher++/test/test_signal_filter.cpp:14:
/dev/pusher-cpp/pusher++/include/pusher++/client.hpp:12:10: fatal error: 'boost/asio/handler_type.hpp' file not found
#include <boost/asio/handler_type.hpp>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions