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

Fails to build with Boost 1.70.0 #1

Open
jbeich opened this issue Mar 17, 2019 · 4 comments
Open

Fails to build with Boost 1.70.0 #1

jbeich opened this issue Mar 17, 2019 · 4 comments

Comments

@jbeich
Copy link

jbeich commented Mar 17, 2019

Regressed by boostorg/asio@a72fbb0b867f:

In file included from demo/demo_levin_server/demo_levin_server.cpp:30:
In file included from demo/demo_levin_server/demo_levin_server.h:33:
In file included from demo/../include/net/levin_server_cp2.h:32:
In file included from demo/../include/net/abstract_tcp_server2.h:275:
demo/../include/net/abstract_tcp_server2.inl:170:20: error: no member named 'get_io_service' in
      'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
    return socket_.get_io_service();
           ~~~~~~~ ^
demo/../include/net/abstract_tcp_server2.inl:274:28: error: no member named 'get_io_service' in
      'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
      size_t cnt = socket_.get_io_service().run_one();
                   ~~~~~~~ ^
demo/../include/net/abstract_tcp_server2.inl:284:28: error: no member named 'get_io_service' in
      'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
      size_t cnt = socket_.get_io_service().poll_one();
                   ~~~~~~~ ^
@sabelnikov
Copy link
Contributor

Hi! Thank you for reportin a problem, actually this version of library is not the last one, we actively use it in this project https://github.com/hyle-team/zano
But i'll update this repo with the last one in few hours, hope this will help to solve this.

@cryptozoidberg
Copy link
Member

fyi: I moved repo to our team account, just in case your git links are broken.

@cryptozoidberg
Copy link
Member

Try with f5e182c, this is the latest version

@jbeich
Copy link
Author

jbeich commented Mar 17, 2019

Still fails:

In file included from demo_http_server/demo_http_server.cpp:29:
In file included from demo_http_server/demo_http_server.h:33:
In file included from ../include/net/http_server_cp2.h:33:
In file included from ../include/net/abstract_tcp_server2.h:288:
../include/net/abstract_tcp_server2.inl:173:20: error: no member named 'get_io_service' in 'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
    return socket_.get_io_service();
           ~~~~~~~ ^
../include/net/abstract_tcp_server2.inl:277:28: error: no member named 'get_io_service' in 'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
      size_t cnt = socket_.get_io_service().run_one();
                   ~~~~~~~ ^
../include/net/abstract_tcp_server2.inl:287:28: error: no member named 'get_io_service' in 'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
      size_t cnt = socket_.get_io_service().poll_one();
                   ~~~~~~~ ^
3 errors generated.

@jbeich jbeich changed the title Fails to build with Boost 1.70 (Beta1) Fails to build with Boost 1.70.0 Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants