Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on boost 1.70 #340

Open
mattn opened this issue May 14, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@mattn
Copy link

commented May 14, 2019

g++ -std=c++14 -c -I../include -I. helloworld.cpp -o helloworld.o

In file included from ../include/crow.h:7,
                 from helloworld.cpp:1:
../include/crow/socket_adaptors.h: In member function 'boost::asio::io_service& crow::SocketAdaptor::get_io_service()':
../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'
             return socket_.get_io_service();
                            ^~~~~~~~~~~~~~
../include/crow/app.h:63: confused by earlier errors, bailing out

mingw32-make: *** [Makefile:24: helloworld.o] Error 1

@moneroexamples

This comment has been minimized.

Copy link

commented Jun 29, 2019

In one of my project's that uses crow, the issue was fixed. Can check here:
moneroexamples/onion-monero-blockchain-explorer@76a0efa

@mattn

This comment has been minimized.

Copy link
Author

commented Jun 29, 2019

I confirmed the patch fixes this issue. Thank you.

@mattn

This comment has been minimized.

Copy link
Author

commented Jun 29, 2019

Could you please send this patch as pull-request?

@moneroexamples

This comment has been minimized.

Copy link

commented Jul 1, 2019

No problem. PR submitted, though I don't expect it being ever merged. The crow project is pretty much dead at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.