Skip to content

Cannot build on boost 1.70 #340

Description

@mattn
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions