The no-dev option is deprecated. Use -Wno-author instead.
CMake Warning (unused-cli):
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/util/signalcatcher.cpp: In static member function ‘static void bt::SignalCatcher::signalHandler(int, siginfo_t*, void*)’:
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/util/signalcatcher.cpp:99:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
99 | ::write(signal_received_pipe[0], &sig, sizeof(int));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/util/signalcatcher.cpp: In member function ‘void bt::SignalCatcher::handleInput(int)’:
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/util/signalcatcher.cpp:120:11: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
120 | ::read(fd, &sig, sizeof(int));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/net/socket.cpp: In member function ‘virtual int net::Socket::send(const bt::Uint8*, int)’:
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/net/socket.cpp:273:27: warning: logical ‘and’ of equal expressions [-Wlogical-op]
273 | if (err != EAGAIN && err != EWOULDBLOCK) {
| ^
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/net/socket.cpp: In member function ‘virtual int net::Socket::recv(bt::Uint8*, int)’:
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/net/socket.cpp:291:27: warning: logical ‘and’ of equal expressions [-Wlogical-op]
291 | if (err != EAGAIN && err != EWOULDBLOCK) {
| ^
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/net/socket.cpp: In member function ‘int net::Socket::sendTo(const bt::Uint8*, int, const net::Address&)’:
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/net/socket.cpp:314:27: warning: logical ‘or’ of equal expressions [-Wlogical-op]
314 | if (err == EAGAIN || err == EWOULDBLOCK) {
| ^
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/upnp/upnpmcastsocket.cpp: In member function ‘void bt::UPnPMCastSocket::onReadyRead()’:
/var/pisi/libktorrent-26.08.0-36/work/libktorrent-26.08.0/src/upnp/upnpmcastsocket.cpp:141:15: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
141 | ::read(fd, &tmp, 1);
| ~~~~~~^~~~~~~~~~~~~