Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

doesn't compile with boost 1.67 #838

Closed
@yhager

Description

@yhager

In latest boost,io_service has been renamedio_context. There's a typedef left for compatability, but to get it we need to includeio_service.hpp explicitly.

So the following patch (against0.13-release) fixes the compilation issue:

diff --git a/boost/network/protocol/stream_handler.hpp b/boost/network/protocol/stream_handler.hppindex 2231af0c..ffb09b82 100644--- a/boost/network/protocol/stream_handler.hpp+++ b/boost/network/protocol/stream_handler.hpp@@ -18,6 +18,7 @@ #include <boost/asio/detail/push_options.hpp> #include <boost/asio/detail/throw_error.hpp> #include <boost/asio/error.hpp>+#include <boost/asio/io_service.hpp> #include <boost/asio/stream_socket_service.hpp> #include <cstddef>

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp