Opened 5 years ago

Closed 5 years ago

#59543 closed defect (fixed)

cpprestsdk: error: no member named 'context' in 'std::__1::reference_wrapper<boost::asio::io_context>'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mohd-akram (Mohamed Akram)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: cpprestsdk

Description

cpprestsdk does not build:

/opt/local/include/boost/asio/impl/executor.hpp:179:22: error: no member named 'context' in 'std::__1::reference_wrapper<boost::asio::io_context>'
    return executor_.context();
           ~~~~~~~~~ ^

boost was recently updated to a new version. Maybe this version of cpprestsdk is not compatible with it. If you can update cpprestsdk to a newer version or add patches to fix this, great, otherwise we do have a boost169 port you can use if you need an older version of boost.

Change History (1)

comment:1 Changed 5 years ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed

In ddb6123158c89abf79ec46c7fbcbb3995a1cdedc/macports-ports (master):

cpprestsdk: update to 2.10.16

Fixes: #59543

Note: See TracTickets for help on using tickets.