* 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 'SEXPREC* CMQMaster::recv(int)': CMQMaster.h:56:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] 56 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h:58:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 58 | } while(data_offset >= msgs.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ CMQMaster.h: In member function 'void CMQMaster::proxy_submit_cmd(SEXP, int)': CMQMaster.h:130:14: warning: variable 'n' set but not used [-Wunused-but-set-variable] 130 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h: In member function 'int CMQMaster::register_peer(std::vector&)': CMQMaster.h:266:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 266 | if (msgs.size() > ++cur_i) | ~~~~~~~~~~~~^~~~~~~~~ CMQMaster.h:286:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 286 | if (msgs.size() > cur_i+2) { | ~~~~~~~~~~~~^~~~~~~~~ In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\map:60, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:57, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from CMQMaster.cpp:1: In member function 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_mbegin() const [with _Key = std::__cxx11::basic_string; _Val = std::__cxx11::basic_string; _KeyOfValue = std::_Identity >; _Compare = std::less >; _Alloc = std::allocator >]', inlined from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_begin() [with _Key = std::__cxx11::basic_string; _Val = std::__cxx11::basic_string; _KeyOfValue = std::_Identity >; _Compare = std::less >; _Alloc = std::allocator >]' at d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\stl_tree.h:741:25, inlined from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = std::__cxx11::basic_string; _Val = std::__cxx11::basic_string; _KeyOfValue = std::_Identity >; _Compare = std::less >; _Alloc = std::allocator >]' at d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\stl_tree.h:2533:36, inlined from 'std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = std::__cxx11::basic_string; _Compare = std::less >; _Alloc = std::allocator >]' at d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\stl_set.h:795:25, inlined from 'void CMQMaster::send(SEXP)' at CMQMaster.h:89:34: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\stl_tree.h:737:73: warning: 'via_env' may be used uninitialized [-Wmaybe-uninitialized] 737 | { return static_cast<_Link_type>(this->_M_impl._M_header._M_parent); } | ^ CMQMaster.h: In member function 'void CMQMaster::send(SEXP)': CMQMaster.h:74:32: note: 'via_env' was declared here 74 | std::set *via_env; | ^~~~~~~ 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 'SEXPREC* CMQMaster::recv(int)': CMQMaster.h:56:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] 56 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h:58:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 58 | } while(data_offset >= msgs.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ CMQMaster.h: In member function 'void CMQMaster::proxy_submit_cmd(SEXP, int)': CMQMaster.h:130:14: warning: variable 'n' set but not used [-Wunused-but-set-variable] 130 | auto n = recv_multipart(sock, std::back_inserter(msgs)); | ^ CMQMaster.h: In member function 'int CMQMaster::register_peer(std::vector&)': CMQMaster.h:266:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 266 | if (msgs.size() > ++cur_i) | ~~~~~~~~~~~~^~~~~~~~~ CMQMaster.h:286:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 286 | 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:110:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 110 | for (int i=0; i::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 138 | for (int i=0; i