ipkn / crow

Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
BSD 3-Clause "New" or "Revised" License
7.46k stars 889 forks source link

build issue with boost >=1.70 #374

Open ilejn opened 4 years ago

ilejn commented 4 years ago
                 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();
mrozigor commented 4 years ago

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.

ilejn commented 4 years ago

Thanks, no luck in making my own PR ;(

zh794390558 commented 4 years ago

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