crow icon indicating copy to clipboard operation
crow copied to clipboard

build issue with boost >=1.70

Open ilejn opened this issue 5 years ago • 3 comments

                 from /home/ilejn/projects/.../HttpServer.cpp:1:
/home/ilejn/projects/.../3rdparty/crow/include/crow/socket_adaptors.h: In member function ‘boost::asio::io_service& crow::SocketAdaptor::get_io_service()’:
/home/ilejn/projects/.../3rdparty/crow/include/crow/socket_adaptors.h:22:28: error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’} has no member named ‘get_io_service’
   22 |             return socket_.get_io_service();

ilejn avatar Jun 05 '20 09:06 ilejn

There are already couple of issues in this project with boost lib version. Also couple of pull request - you can choose one of them ;) On my fork those changes are merged, so feel free to download updated version.

mrozigor avatar Jun 06 '20 07:06 mrozigor

Thanks, no luck in making my own PR ;(

ilejn avatar Jun 06 '20 08:06 ilejn

https://github.com/ipkn/crow/pull/343

zh794390558 avatar Jul 19 '20 06:07 zh794390558