Nheko-Reborn / mtxclient

Client API library for Matrix, built on top of libcurl
MIT License
40 stars 25 forks source link

Failure to build from source (missing include) #41

Closed lbeltrame closed 4 years ago

lbeltrame commented 4 years ago

Latest master with GCC 10:

/home/einar/Download/Sources/mtxclient/lib/http/session.cpp: In member function ‘void mtx::http::Session::on_close(boost::system::error_code)’:
/home/einar/Download/Sources/mtxclient/lib/http/session.cpp:60:22: error: ‘cout’ is not a member of ‘std’
   60 |                 std::cout << "shutdown: " << ec.message() << std::endl;
      |                      ^~~~
/home/einar/Download/Sources/mtxclient/lib/http/session.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
    1 | #include "mtxclient/http/session.hpp"
lbeltrame commented 4 years ago

Outdated git checkout. Will reopen if actually applicable.