src/main.cpp: In function ‘void startUdpListener()’:
src/main.cpp:137:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t {aka int}’ [-Wformat]
src/communicator.h: In constructor ‘Communicator::Communicator()’:
src/communicator.h:64:24: warning: ‘Communicator::mHandle’ will be initialized after [-Wreorder]
src/communicator.h:63:17: warning: ‘libusb_device* Communicator::mDevice’ [-Wreorder]
src/communicator.cpp:10:1: warning: when initialized here [-Wreorder]
src/communicator.cpp: In member function ‘bool Communicator::readFromClient()’:
src/communicator.cpp:114:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t {aka int}’ [-Wformat]
src/communicator.cpp:119:60: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t {aka int}’ [-Wformat]
src/communicator.cpp: In member function ‘void Communicator::sendUsbDeviceList(uint32_t)’:
src/communicator.cpp:662:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<ImagingUsbDevice>::size_type {aka unsigned int}’ [-Wformat]
I have the same Compiling-Errors - have you any solution for this problem, Peanuts1_1?