* installing *source* package 'clustermq' ... ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' rm -f CMQMaster.o CMQProxy.o CMQWorker.o RcppExports.o common.o util.o clustermq.dll "D:/RCompile/recent/R/bin/x64/Rscript.exe" "../tools/winlibs.R" [1] TRUE g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DZMQ_STATIC -DZMQ_BUILD_DRAFT_API=1 -Icppzmq -I../windows/zeromq/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CMQMaster.cpp -o CMQMaster.o In file included from CMQMaster.cpp:2: CMQMaster.h: In member function 'bool CMQMaster::close(int)': CMQMaster.h:65:26: warning: variable 'n' set but not used [-Wunused-but-set-variable] 65 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h:62:21: warning: unused variable 'rc' [-Wunused-variable] 62 | int rc = zmq::poll(pitems, time_left); | ^~ CMQMaster.h: In member function 'SEXPREC* CMQMaster::recv(int)': CMQMaster.h:107:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] 107 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h:109:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 109 | } while(data_offset >= msgs.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ CMQMaster.h: In member function 'void CMQMaster::proxy_submit_cmd(SEXP, int)': CMQMaster.h:162:14: warning: variable 'n' set but not used [-Wunused-but-set-variable] 162 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h: In member function 'int CMQMaster::register_peer(std::vector&)': CMQMaster.h:344:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 344 | if (msgs.size() > ++cur_i) { | ~~~~~~~~~~~~^~~~~~~~~ CMQMaster.h:359:26: warning: comparison of integer expressions of different signedness: 'std::unordered_map, CMQMaster::worker_t>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 359 | if (peers.size() > prev_size && w.status == wlife_t::active) { | ~~~~~~~~~~~~~^~~~~~~~~~~ CMQMaster.h:364:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 364 | if (msgs.size() > cur_i+2) { | ~~~~~~~~~~~~^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DZMQ_STATIC -DZMQ_BUILD_DRAFT_API=1 -Icppzmq -I../windows/zeromq/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CMQProxy.cpp -o CMQProxy.o In file included from CMQProxy.h:3, from CMQProxy.cpp:2: CMQMaster.h: In member function 'bool CMQMaster::close(int)': CMQMaster.h:65:26: warning: variable 'n' set but not used [-Wunused-but-set-variable] 65 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h:62:21: warning: unused variable 'rc' [-Wunused-variable] 62 | int rc = zmq::poll(pitems, time_left); | ^~ CMQMaster.h: In member function 'SEXPREC* CMQMaster::recv(int)': CMQMaster.h:107:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] 107 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h:109:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 109 | } while(data_offset >= msgs.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ CMQMaster.h: In member function 'void CMQMaster::proxy_submit_cmd(SEXP, int)': CMQMaster.h:162:14: warning: variable 'n' set but not used [-Wunused-but-set-variable] 162 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h: In member function 'int CMQMaster::register_peer(std::vector&)': CMQMaster.h:344:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 344 | if (msgs.size() > ++cur_i) { | ~~~~~~~~~~~~^~~~~~~~~ CMQMaster.h:359:26: warning: comparison of integer expressions of different signedness: 'std::unordered_map, CMQMaster::worker_t>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 359 | if (peers.size() > prev_size && w.status == wlife_t::active) { | ~~~~~~~~~~~~~^~~~~~~~~~~ CMQMaster.h:364:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 364 | if (msgs.size() > cur_i+2) { | ~~~~~~~~~~~~^~~~~~~~~ CMQProxy.h: In member function 'SEXPREC* CMQProxy::proxy_receive_cmd()': CMQProxy.h:54:14: warning: variable 'n' set but not used [-Wunused-but-set-variable] 54 | auto n = recv_multipart(to_master, std::back_inserter(msgs)); | ^ CMQProxy.h:55:14: warning: unused variable 'status' [-Wunused-variable] 55 | auto status = msg2wlife_t(msgs[1]); | ^~~~~~ CMQProxy.h: In member function 'bool CMQProxy::process_one()': CMQProxy.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 116 | for (int i=0; i::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 139 | for (int i=0; i