Project

General

Profile

Actions

Bug #6209

closed

Wt 4.0.2 doesn't compile with boost 1.66

Added by Winfried Dobbe over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/16/2018
Due date:
% Done:

0%

Estimated time:

Description

Boost::Asio implemented interface changes in Boost 1.66 to reflect the Networking TS. See http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/net_ts.html.

Affected parts in Wt:

  • io_service renamed to io_context
    Temporary fix:

---- a/src/Wt/Http/Client.h

  • b/src/Wt/Http/Client.h
    @@ --22,8 +22,9 @@

#ifdef WT_ASIO_IS_BOOST_ASIO

namespace boost {

- namespace asio {

  • class io_service;
    +namespace asio {
  • class io_context;
  • typedef io_context io_service;
    }
    }

- io_service::strand refactored to template class, results in compile error on src/Wt/Http/Client.C:611

There are probably more ...

Actions #1

Updated by Roel Standaert over 6 years ago

  • Status changed from New to Resolved

Yes, this is already fixed on the master branch.

Actions #2

Updated by Roel Standaert about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF