Skip to content

Build breaks with boost-1.87+: fatal error: no type named 'io_service' in namespace 'websocketpp::lib::asio' #1094

@yurivict

Description

@yurivict
In file included from /wrkdirs/usr/ports/science/ttk/work/ttk-1.3.0/core/vtk/ttkWebSocketIO/ttkWebSocketIO.cpp:1:
In file included from /wrkdirs/usr/ports/science/ttk/work/ttk-1.3.0/core/vtk/ttkWebSocketIO/ttkWebSocketIO.h:36:
In file included from /wrkdirs/usr/ports/science/ttk/work/ttk-1.3.0/core/base/webSocketIO/WebSocketIO.h:38:
In file included from /usr/local/include/websocketpp/config/asio_no_tls.hpp:32:
In file included from /usr/local/include/websocketpp/transport/asio/endpoint.hpp:32:
/usr/local/include/websocketpp/transport/asio/connection.hpp:89:24: fatal error: no type named 'io_service' in namespace 'websocketpp::lib::asio'
   89 |     typedef lib::asio::io_service * io_service_ptr;
      |             ~~~~~~~~~~~^
1 error generated.

The class in question was deprecated in Boost and replaced with another class.

Could you please fix it and make a release?

Thanks,
Yuri

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