* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’ * installing *source* package ‘clustermq’ ... ** package ‘clustermq’ successfully unpacked and MD5 sums checked ** using staged installation * system has libzmq -> linking system library * libzmq without DRAFT API found -> disabling crash monitor feature ** libs using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNbXWa2/R.INSTALL1d8ef0249c26f1/clustermq/src' g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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 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 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 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 unsigned int’} and ‘int’ [-Wsign-compare] 364 | if (msgs.size() > cur_i+2) { | ~~~~~~~~~~~~^~~~~~~~~ g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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 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 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 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 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 unsigned int’} [-Wsign-compare] 116 | for (int i=0; i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 139 | for (int i=0; i