GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doesn't compile with boost 1.67 · Issue #838 · cpp-netlib/cpp-netlib

doesn't compile with boost 1.67 #838

New issue
Copy link
New issue
Copy link
Closed
Closed
doesn't compile with boost 1.67#838
Copy link

Description

@yhager
yhager
opened on May 14, 2018
Issue body actions

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

So the following patch (against 0.13-release) fixes the compilation issue:

diff --git a/boost/network/protocol/stream_handler.hpp b/boost/network/protocol/stream_handler.hpp
index 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>

Activity

  1. deanberris commented on May 15, 2018

    @deanberris
    deanberris
    on May 15, 2018
    Member
    More actions

    Thanks @yhager -- can you please send a pull request instead?

  2. deanberris
    closed this as completedon May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.