CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS
    ECM_MKSPECS_INSTALL_DIR


/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/net/socket.cpp: In member function ‘virtual int net::Socket::send(const bt::Uint8*, int)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/net/socket.cpp:248:29: warning: logical ‘and’ of equal expressions [-Wlogical-op]
  248 |         if (errno != EAGAIN && errno != EWOULDBLOCK) {
      |                             ^
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/net/socket.cpp: In member function ‘virtual int net::Socket::recv(bt::Uint8*, int)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/net/socket.cpp:265:29: warning: logical ‘and’ of equal expressions [-Wlogical-op]
  265 |         if (errno != EAGAIN && errno != EWOULDBLOCK) {
      |                             ^
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/net/socket.cpp: In member function ‘int net::Socket::sendTo(const bt::Uint8*, int, const net::Address&)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/net/socket.cpp:287:29: warning: logical ‘or’ of equal expressions [-Wlogical-op]
  287 |         if (errno == EAGAIN || errno == EWOULDBLOCK)
      |                             ^
In file included from /var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/movedatafilesjob.cpp:6:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/movedatafilesjob.h: In constructor ‘bt::MoveDataFilesJob::MoveDataFilesJob(const QMap&)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/movedatafilesjob.h:69:16: warning: ‘bt::MoveDataFilesJob::bytes_moved_current_file’ will be initialized after [-Wreorder]
   69 |     bt::Uint64 bytes_moved_current_file;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/movedatafilesjob.h:65:43: warning:   ‘QMap bt::MoveDataFilesJob::file_map’ [-Wreorder]
   65 |     QMap file_map;
      |                                           ^~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/movedatafilesjob.cpp:34:1: warning:   when initialized here [-Wreorder]
   34 | MoveDataFilesJob::MoveDataFilesJob(const QMap &fmap)
      | ^~~~~~~~~~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/cachefile.cpp: In member function ‘void bt::CacheFile::unmap(void*, bt::Uint32)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/cachefile.cpp:231:41: warning: unused parameter ‘size’ [-Wunused-parameter]
  231 | void CacheFile::unmap(void *ptr, Uint32 size)
      |                                  ~~~~~~~^~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/piecedata.cpp: In member function ‘bt::Uint32 bt::PieceData::write(const bt::Uint8*, bt::Uint32, bt::Uint32)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/diskio/piecedata.cpp:47:54: warning: argument ‘buf_size’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
   47 | Uint32 PieceData::write(const bt::Uint8 *buf, Uint32 buf_size, Uint32 off)
      |                                               ~~~~~~~^~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/tracker/kioannouncejob.cpp: In member function ‘void bt::KIOAnnounceJob::finished(KJob*)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/tracker/kioannouncejob.cpp:50:38: warning: ‘bool KIO::TransferJob::isErrorPage() const’ is deprecated: Since 6.3. Not implemented [-Wdeprecated-declarations]
   50 |     error_page = get_job->isErrorPage(); // must be called from slot connected to result()
      |                  ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/KF6/KIOCore/KIO/TransferJob:1,
                 from /var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/tracker/kioannouncejob.h:10,
                 from /var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/tracker/kioannouncejob.cpp:7:
/usr/include/KF6/KIOCore/kio/transferjob.h:49:10: note: declared here
   49 |     bool isErrorPage() const;
      |          ^~~~~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/upnp/upnpmcastsocket.cpp: In member function ‘void bt::UPnPMCastSocket::onReadyRead()’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/upnp/upnpmcastsocket.cpp:138:15: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  138 |         ::read(fd, &tmp, 1);
      |         ~~~~~~^~~~~~~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/util/signalcatcher.cpp: In static member function ‘static void bt::SignalCatcher::signalHandler(int, siginfo_t*, void*)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/util/signalcatcher.cpp:90:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   90 |     ::write(signal_received_pipe[0], &sig, sizeof(int));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/util/signalcatcher.cpp: In member function ‘void bt::SignalCatcher::handleInput(int)’:
/var/pisi/libktorrent-24.12.2-18/work/libktorrent-24.12.2/src/util/signalcatcher.cpp:111:11: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  111 |     ::read(fd, &sig, sizeof(int));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~