[MacPorts] #59543: cpprestsdk: error: no member named 'context' in 'std::__1::reference_wrapper<boost::asio::io_context>'

MacPorts noreply at macports.org
Thu Oct 31 08:09:55 UTC 2019


#59543: cpprestsdk: error: no member named 'context' in
'std::__1::reference_wrapper<boost::asio::io_context>'
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  mohd-akram
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  cpprestsdk
------------------------+------------------------
 [https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/334/steps
 /install-port/logs/stdio 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/59543>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list