Skip to content

compilation fault #2

@felmur

Description

@felmur

Hi,

I've an error when compiling. I think this is a boost fault, perhaps for newer version of this library (I have 1.71).

There is a way to fix?

Regards

[felice@plasma ctorrent]$ make CXX bencode/decoder.cpp CXX bencode/encoder.cpp CXX ctorrent/tracker.cpp ctorrent/tracker.cpp: In member function ‘bool Tracker::udpRequest(const TrackerQuery&)’: ctorrent/tracker.cpp:178:28: error: ‘non_blocking_io’ is not a member of ‘boost::asio::socket_base’ 178 | boost::asio::socket_base::non_blocking_io command(true); | ^~~~~~~~~~~~~~~ ctorrent/tracker.cpp:179:20: error: ‘command’ was not declared in this scope 179 | socket.io_control(command); | ^~~~~~~ make: *** [Makefile:52: obj/ctorrent/tracker.o] Error 1 [felice@plasma ctorrent]$

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