* installing *source* package 'lolog' ... ** package 'lolog' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_11_13_01_50_00_32639/RtmpioGn1O/R.INSTALL349d46c111cec/lolog/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from ../inst/include/lolog.h:6, from RcppExports.cpp:4: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppModule.cpp -o RcppModule.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from RcppModule.cpp:4: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ In file included from ../inst/include/LatentOrderLikelihood.h:4, from RcppModule.cpp:6: ../inst/include/Model.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Model<Engine>::names() [with Engine = lolog::Undirected]': RcppModule.cpp:85:41: required from here ../inst/include/Model.h:280:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 280 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:285:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 285 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:287:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 287 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::offset() [with Engine = lolog::Undirected]': RcppModule.cpp:86:42: required from here ../inst/include/Model.h:300:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 300 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:305:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 305 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:307:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 307 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setThetas(std::vector<double>) [with Engine = lolog::Undirected]': RcppModule.cpp:88:45: required from here ../inst/include/Model.h:202:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 202 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:205:28: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 205 | if(newThetas.size()!= n){ | ~~~~~~~~~~~~~~~~^~~~ ../inst/include/Model.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:212:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 212 | for(int j=0;j<vals->size();j++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Undirected]': RcppModule.cpp:89:50: required from here ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<bool> lolog::Model<Engine>::isIndependent(bool, bool) [with Engine = lolog::Undirected]': RcppModule.cpp:91:49: required from here ../inst/include/Model.h:515:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 515 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:520:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 520 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:527:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 527 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:535:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 535 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:540:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 540 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Model<Engine>::names() [with Engine = lolog::Directed]': RcppModule.cpp:102:39: required from here ../inst/include/Model.h:280:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 280 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:285:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 285 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:287:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 287 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::offset() [with Engine = lolog::Directed]': RcppModule.cpp:103:40: required from here ../inst/include/Model.h:300:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 300 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:305:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 305 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:307:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 307 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setThetas(std::vector<double>) [with Engine = lolog::Directed]': RcppModule.cpp:105:43: required from here ../inst/include/Model.h:202:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 202 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:205:28: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 205 | if(newThetas.size()!= n){ | ~~~~~~~~~~~~~~~~^~~~ ../inst/include/Model.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:212:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 212 | for(int j=0;j<vals->size();j++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Directed]': RcppModule.cpp:106:48: required from here ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<bool> lolog::Model<Engine>::isIndependent(bool, bool) [with Engine = lolog::Directed]': RcppModule.cpp:108:47: required from here ../inst/include/Model.h:515:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 515 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:520:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 520 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:527:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 527 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:535:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 535 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:540:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 540 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]': ../inst/include/Model.h:397:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' RcppModule.cpp:83:45: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' RcppModule.cpp:83:45: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Undirected]': ../inst/include/Model.h:258:44: required from 'Rcpp::NumericVector lolog::Model<Engine>::statisticsR() [with Engine = lolog::Undirected; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]' RcppModule.cpp:84:46: required from here ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Undirected]': ../inst/include/Model.h:270:34: required from 'Rcpp::NumericVector lolog::Model<Engine>::thetasR() [with Engine = lolog::Undirected; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]' RcppModule.cpp:87:42: required from here ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Directed]': ../inst/include/Model.h:397:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]' RcppModule.cpp:100:43: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Directed]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]' RcppModule.cpp:100:43: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Directed]': ../inst/include/Model.h:258:44: required from 'Rcpp::NumericVector lolog::Model<Engine>::statisticsR() [with Engine = lolog::Directed; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]' RcppModule.cpp:101:44: required from here ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Directed]': ../inst/include/Model.h:270:34: required from 'Rcpp::NumericVector lolog::Model<Engine>::thetasR() [with Engine = lolog::Directed; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]' RcppModule.cpp:104:40: required from here ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Undirected; VectorPtr = boost::shared_ptr<std::vector<int> >]': ../inst/include/LatentOrderLikelihood.h:157:23: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:118:78: required from here ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]': ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:118:78: required from here ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]': ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' RcppModule.cpp:120:67: required from here ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Directed; VectorPtr = boost::shared_ptr<std::vector<int> >]': ../inst/include/LatentOrderLikelihood.h:157:23: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:130:76: required from here ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]': ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:130:76: required from here ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]': ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' RcppModule.cpp:132:65: required from here ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]' ../inst/include/LatentOrderLikelihood.h:121:26: required from 'void lolog::LatentOrderLikelihood<Engine>::setModel(const lolog::Model<Engine>&) [with Engine = lolog::Undirected]' RcppModule.cpp:113:60: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:232:45: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:118:78: required from here ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:233:45: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:118:78: required from here ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::rollback() [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:239:47: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:118:78: required from here ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:328:43: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' RcppModule.cpp:120:67: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Directed]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Directed]' ../inst/include/LatentOrderLikelihood.h:121:26: required from 'void lolog::LatentOrderLikelihood<Engine>::setModel(const lolog::Model<Engine>&) [with Engine = lolog::Directed]' RcppModule.cpp:125:58: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:232:45: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:130:76: required from here ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:233:45: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:130:76: required from here ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::rollback() [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:239:47: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:130:76: required from here ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:328:43: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' RcppModule.cpp:132:65: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/LatentOrderLikelihood.h:6: ../inst/include/Ranker.h: In instantiation of 'void lolog::Ranker<T, C>::shuffle(std::vector<S>&) const [with S = unsigned int; T = int; C = lolog::lt<int>]': ../inst/include/Ranker.h:84:24: required from 'void lolog::Ranker<T, C>::get_ranks(std::vector<S>&, const std::string&) const [with S = int; T = int; C = lolog::lt<int>; std::string = std::__cxx11::basic_string<char>]' ../inst/include/Ranker.h:148:38: required from 'void lolog::rank(const std::vector<T>&, std::vector<S>&, const std::string&) [with T = int; S = int; std::string = std::__cxx11::basic_string<char>]' ../inst/include/LatentOrderLikelihood.h:69:13: required from 'void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Undirected; VectorPtr = boost::shared_ptr<std::vector<int> >]' ../inst/include/LatentOrderLikelihood.h:157:23: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' RcppModule.cpp:118:78: required from here ../inst/include/Ranker.h:42:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 42 | for( int i=0; i < vec.size(); i++){ | ~~^~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Directed]': D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/Module.h:213:20: required from 'Class* Rcpp::Constructor<Class, T>::get_new_impl(SEXPREC**, int, Rcpp::traits::index_sequence<Is ...>) [with int ...Is = {0}; Class = lolog::LatentOrderLikelihood<lolog::Directed>; T = {lolog::Model<lolog::Directed>}; SEXP = SEXPREC*]' D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/Module.h:203:32: required from 'Class* Rcpp::Constructor<Class, T>::get_new(SEXPREC**, int) [with Class = lolog::LatentOrderLikelihood<lolog::Directed>; T = {lolog::Model<lolog::Directed>}; SEXP = SEXPREC*]' D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/Module.h:202:24: required from here ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Undirected]': D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/Module.h:213:20: required from 'Class* Rcpp::Constructor<Class, T>::get_new_impl(SEXPREC**, int, Rcpp::traits::index_sequence<Is ...>) [with int ...Is = {0}; Class = lolog::LatentOrderLikelihood<lolog::Undirected>; T = {lolog::Model<lolog::Undirected>}; SEXP = SEXPREC*]' D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/Module.h:203:32: required from 'Class* Rcpp::Constructor<Class, T>::get_new(SEXPREC**, int) [with Class = lolog::LatentOrderLikelihood<lolog::Undirected>; T = {lolog::Model<lolog::Undirected>}; SEXP = SEXPREC*]' D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/Module.h:202:24: required from here ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c StatController.cpp -o StatController.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from ../inst/include/Stat.h:6, from ../inst/include/StatController.h:6, from StatController.cpp:1: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ In file included from StatController.cpp:3: ../inst/include/Stats.h: In instantiation of 'void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2789:18: required from here ../inst/include/Stats.h:2791:12: warning: unused variable 'addingEdge' [-Wunused-variable] 2791 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2278:18: required from here ../inst/include/Stats.h:2282:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2282 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2283:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2283 | for(int j=0;j<varNames.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2289:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2289 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2299:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2299 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:1879:18: required from here ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2067:18: required from here ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:1484:18: required from here ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::EdgeCovSparse<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2974:16: required from here ../inst/include/Stats.h:2976:10: warning: unused variable 'addingEdge' [-Wunused-variable] 2976 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2789:18: required from here ../inst/include/Stats.h:2791:12: warning: unused variable 'addingEdge' [-Wunused-variable] 2791 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2278:18: required from here ../inst/include/Stats.h:2282:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2282 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2283:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2283 | for(int j=0;j<varNames.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2289:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2289 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2299:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2299 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:1879:18: required from here ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2067:18: required from here ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:1484:18: required from here ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::EdgeCovSparse<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2974:16: required from here ../inst/include/Stats.h:2976:10: warning: unused variable 'addingEdge' [-Wunused-variable] 2976 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2790:41: required from 'void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]' ../inst/include/Stats.h:2789:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2294:19: required from 'void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]' ../inst/include/Stats.h:2278:18: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stats.h: In instantiation of 'double lolog::AbsDiff<Engine>::dist(const lolog::BinaryNet<Engine>&, int, int) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2302:23: required from 'void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]' ../inst/include/Stats.h:2278:18: required from here ../inst/include/Stats.h:2271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2271 | for(int j=0;j<indices.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Directed]': ../inst/include/Stats.h:2790:41: required from 'void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]' ../inst/include/Stats.h:2789:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2294:19: required from 'void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]' ../inst/include/Stats.h:2278:18: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stats.h: In instantiation of 'double lolog::AbsDiff<Engine>::dist(const lolog::BinaryNet<Engine>&, int, int) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2302:23: required from 'void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]' ../inst/include/Stats.h:2278:18: required from here ../inst/include/Stats.h:2271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2271 | for(int j=0;j<indices.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::AbsDiff<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::AbsDiff<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::AbsDiff<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:2263:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2263 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::SharedNbrs<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::SharedNbrs<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::SharedNbrs<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:2450:16: warning: unused variable 'netSize' [-Wunused-variable] 2450 | double netSize = actorIndex + 1.0; | ^~~~~~~ ../inst/include/Stats.h:2451:16: warning: unused variable 'totDegree' [-Wunused-variable] 2451 | double totDegree = (net.nEdges() - hasEdge) * 2.0; | ^~~~~~~~~ ../inst/include/Stats.h:2457:16: warning: unused variable 'sdegs' [-Wunused-variable] 2457 | double sdegs = 0.0; | ^~~~~ ../inst/include/Stats.h:2458:26: warning: variable 'fit' set but not used [-Wunused-but-set-variable] 2458 | NeighborIterator fit = net.begin(order[actorIndex]); | ^~~ ../inst/include/Stats.h:2459:26: warning: variable 'fend' set but not used [-Wunused-but-set-variable] 2459 | NeighborIterator fend = net.end(order[actorIndex]); | ^~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::DegreeCrossProd<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] 1173 | double toDeg; | ^~~~~ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] 1174 | double fromDeg; | ^~~~~~~ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] 1185 | double deg = net.degree(from); | ^~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeMix<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:914:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 914 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:927:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 927 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::NodeMix<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:900:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 900 | for(int i=0;i<levels.size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h:901:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 901 | for(int j=i;j<levels.size();j++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeLogMaxCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeLogMaxCov<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeLogMaxCov<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2556:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2556 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2564:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2564 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2577:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2577 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Directed]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Directed]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::AbsDiff<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::AbsDiff<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::AbsDiff<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:2263:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2263 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Mutual<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Mutual<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Mutual<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:677:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 677 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main.cpp -o main.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test_BinaryNet.cpp -o test_BinaryNet.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_BinaryNet.cpp:3: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test_Constraints.cpp -o test_Constraints.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_Constraints.cpp:5: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ In file included from test_Constraints.cpp:11: ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setThetas(std::vector<double>) [with Engine = lolog::Undirected]': test_Constraints.cpp:34:20: required from 'void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]' test_Constraints.cpp:43:5: required from here ../inst/include/Model.h:202:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 202 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:205:28: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 205 | if(newThetas.size()!= n){ | ~~~~~~~~~~~~~~~~^~~~ ../inst/include/Model.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:212:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 212 | for(int j=0;j<vals->size();j++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::offset() [with Engine = lolog::Undirected]': test_Constraints.cpp:36:5: required from 'void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]' test_Constraints.cpp:43:5: required from here ../inst/include/Model.h:300:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 300 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:305:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 305 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:307:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 307 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]': ../inst/include/Model.h:397:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' test_Constraints.cpp:33:20: required from 'void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]' test_Constraints.cpp:43:5: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' test_Constraints.cpp:33:20: required from 'void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]' test_Constraints.cpp:43:5: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/Model.h:330:16: required from 'double lolog::Model<Engine>::vLogLik() [with Engine = lolog::Undirected]' ../inst/include/Model.h:329:20: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]' ../inst/include/Model.h:118:16: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::vClone() const [with Engine = lolog::Undirected]' ../inst/include/Model.h:117:48: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ In file included from test_Constraints.cpp:6: ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]': ../inst/include/Stats.h:170:43: required from 'void lolog::Edges<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]' ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:459:9: required from 'void lolog::BaseStat<Engine>::initSingle(double) [with Engine = lolog::Undirected]' ../inst/include/Stats.h:166:25: required from 'void lolog::Edges<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]' ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test_LatentOrderLikelhood.cpp -o test_LatentOrderLikelhood.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_LatentOrderLikelhood.cpp:3: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ test_LatentOrderLikelhood.cpp: In instantiation of 'void lolog::tests::lt() [with Engine = lolog::Undirected]': test_LatentOrderLikelhood.cpp:166:5: required from here test_LatentOrderLikelhood.cpp:108:12: warning: unused variable 'llik' [-Wunused-variable] 108 | double llik = model.logLik(); | ^~~~ test_LatentOrderLikelhood.cpp: In instantiation of 'void lolog::tests::lt() [with Engine = lolog::Directed]': test_LatentOrderLikelhood.cpp:167:5: required from here test_LatentOrderLikelhood.cpp:108:12: warning: unused variable 'llik' [-Wunused-variable] In file included from test_LatentOrderLikelhood.cpp:7: ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]': test_LatentOrderLikelhood.cpp:108:31: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Undirected]': test_LatentOrderLikelhood.cpp:118:31: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from test_LatentOrderLikelhood.cpp:9: ../inst/include/LatentOrderLikelihood.h: In instantiation of 'lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Undirected]': test_LatentOrderLikelhood.cpp:120:41: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Directed]': test_LatentOrderLikelhood.cpp:108:31: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Directed]': test_LatentOrderLikelhood.cpp:118:31: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Directed]': test_LatentOrderLikelhood.cpp:120:41: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/LatentOrderLikelihood.h:6: ../inst/include/Ranker.h: In instantiation of 'void lolog::Ranker<T, C>::shuffle(std::vector<S>&) const [with S = unsigned int; T = int; C = lolog::lt<int>]': ../inst/include/Ranker.h:84:24: required from 'void lolog::Ranker<T, C>::get_ranks(std::vector<S>&, const std::string&) const [with S = int; T = int; C = lolog::lt<int>; std::string = std::__cxx11::basic_string<char>]' ../inst/include/Ranker.h:148:38: required from 'void lolog::rank(const std::vector<T>&, std::vector<S>&, const std::string&) [with T = int; S = int; std::string = std::__cxx11::basic_string<char>]' test_LatentOrderLikelhood.cpp:149:9: required from here ../inst/include/Ranker.h:42:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 42 | for( int i=0; i < vec.size(); i++){ | ~~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]': ../inst/include/Model.h:397:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:106:20: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:106:20: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Undirected; VectorPtr = boost::shared_ptr<std::vector<int> >]': ../inst/include/LatentOrderLikelihood.h:294:19: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]': ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Directed]': ../inst/include/Model.h:397:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:106:20: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Directed]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:106:20: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Directed; VectorPtr = boost::shared_ptr<std::vector<int> >]': ../inst/include/LatentOrderLikelihood.h:294:19: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]': ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]' ../inst/include/LatentOrderLikelihood.h:88:26: required from 'lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:120:41: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]': ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:147:16: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrame(int, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' test_LatentOrderLikelhood.cpp:122:44: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:310:36: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:321:61: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:338:41: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:339:41: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::rollback() [with Engine = lolog::Undirected]': ../inst/include/LatentOrderLikelihood.h:347:43: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Undirected]' test_LatentOrderLikelhood.cpp:166:5: required from here ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Directed]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Directed]' ../inst/include/LatentOrderLikelihood.h:88:26: required from 'lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:120:41: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]': ../inst/include/LatentOrderLikelihood.h:164:56: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/LatentOrderLikelihood.h:147:16: required from 'Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrame(int, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' test_LatentOrderLikelhood.cpp:122:44: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:310:36: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:321:61: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:338:41: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:339:41: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::rollback() [with Engine = lolog::Directed]': ../inst/include/LatentOrderLikelihood.h:347:43: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' ../inst/include/LatentOrderLikelihood.h:302:22: required from 'Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]' test_LatentOrderLikelhood.cpp:125:24: required from 'void lolog::tests::lt() [with Engine = lolog::Directed]' test_LatentOrderLikelhood.cpp:167:5: required from here ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ In file included from test_LatentOrderLikelhood.cpp:4: ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Directed]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Directed]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Directed]': ../inst/include/Stats.h:399:43: required from 'void lolog::Triangles<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]' ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]': ../inst/include/Stats.h:399:43: required from 'void lolog::Triangles<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]' ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Directed]': ../inst/include/Stat.h:459:9: required from 'void lolog::BaseStat<Engine>::initSingle(double) [with Engine = lolog::Directed]' ../inst/include/Stats.h:382:25: required from 'void lolog::Triangles<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]' ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:459:9: required from 'void lolog::BaseStat<Engine>::initSingle(double) [with Engine = lolog::Undirected]' ../inst/include/Stats.h:382:25: required from 'void lolog::Triangles<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]' ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test_ParamParser.cpp -o test_ParamParser.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/util.h:9, from ../inst/include/tests.h:7, from test_ParamParser.cpp:2: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/util.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ test_ParamParser.cpp: In function 'void lolog::tests::testParsing()': test_ParamParser.cpp:10:5: warning: label 'Rcpp' defined but not used [-Wunused-label] 10 | Rcpp:List params = Rcpp::List::create(1, Rcpp::Named("a")=2, Rcpp::Named("b") = "ss"); | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test_Stats.cpp -o test_Stats.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_Stats.cpp:2: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/Vertex.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::refreshIds()': ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Directed::Directed(const lolog::Directed&, bool)': ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::emptyGraph()': ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Directed::randomEdge() const': ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const': ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const': ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const': ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeContinVariable(int)': ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const': ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Directed::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const': ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::addDiscreteVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Directed::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::refreshIds()': ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor 'lolog::Undirected::Undirected(const lolog::Undirected&, bool)': ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::reorderVertices(std::vector<int>)': ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::emptyGraph()': ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)': ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::pair<int, int> lolog::Undirected::randomEdge() const': ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const': ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const': ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const': ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::ContinAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeContinVariable(int)': ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)': ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const': ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lolog::DiscreteAttrib>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::removeDiscreteVariable(int)': ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<int> lolog::Undirected::discreteVariableValues(int) const': ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const': ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)': ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)': ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)': ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function 'void lolog::Undirected::setVariableR(SEXP, std::string)': ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of 'int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]': ../inst/include/BinaryNet.h:1620:28: required from here ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ test_Stats.cpp: In instantiation of 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]': test_Stats.cpp:218:5: required from here test_Stats.cpp:206:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 206 | for(int i=0;i<realStats.size();i++){ | ~^~~~~~~~~~~~~~~~~ test_Stats.cpp: In instantiation of 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]': test_Stats.cpp:230:5: required from here test_Stats.cpp:206:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] In file included from test_Stats.cpp:6: ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Directed]': test_Stats.cpp:189:25: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:218:5: required from here ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::rollback() [with Engine = lolog::Directed]': test_Stats.cpp:197:27: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:218:5: required from here ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Directed]': test_Stats.cpp:202:48: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:218:5: required from here ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Directed]': test_Stats.cpp:203:30: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:218:5: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Undirected]': test_Stats.cpp:189:25: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:230:5: required from here ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::rollback() [with Engine = lolog::Undirected]': test_Stats.cpp:197:27: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:230:5: required from here ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Undirected]': test_Stats.cpp:202:48: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:230:5: required from here ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]': test_Stats.cpp:203:30: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:230:5: required from here ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Directed]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]' test_Stats.cpp:176:20: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:218:5: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]': ../inst/include/Model.h:398:9: required from 'void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]' test_Stats.cpp:176:20: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:230:5: required from here ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] In file included from test_Stats.cpp:3: ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Directed]': ../inst/include/Stats.h:214:19: required from 'lolog::Star<Engine>::Star(Rcpp::List) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/Stat.h:171:31: required from 'lolog::Stat<NetworkEngine, StatEngine>::Stat(Rcpp::List) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>; Rcpp::List = Rcpp::Vector<19>]' test_Stats.cpp:119:17: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:218:5: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stat.h: In instantiation of 'void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:214:19: required from 'lolog::Star<Engine>::Star(Rcpp::List) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]' ../inst/include/Stat.h:171:31: required from 'lolog::Stat<NetworkEngine, StatEngine>::Stat(Rcpp::List) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>; Rcpp::List = Rcpp::Vector<19>]' test_Stats.cpp:119:17: required from 'void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]' test_Stats.cpp:230:5: required from here ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] In file included from test_Stats.cpp:4: ../inst/include/Stats.h: In instantiation of 'void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:1879:18: required from here ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2067:18: required from here ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stats.h:1484:18: required from here ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:1879:18: required from here ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:2067:18: required from here ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stats.h:1484:18: required from here ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/Model.h:330:16: required from 'double lolog::Model<Engine>::vLogLik() [with Engine = lolog::Undirected]' ../inst/include/Model.h:329:20: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'double lolog::Model<Engine>::logLik() [with Engine = lolog::Directed]': ../inst/include/Model.h:330:16: required from 'double lolog::Model<Engine>::vLogLik() [with Engine = lolog::Directed]' ../inst/include/Model.h:329:20: required from here ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]' ../inst/include/Model.h:118:16: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::vClone() const [with Engine = lolog::Undirected]' ../inst/include/Model.h:117:48: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::DegreeCrossProd<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] 1173 | double toDeg; | ^~~~~ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] 1174 | double fromDeg; | ^~~~~~~ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] 1185 | double deg = net.degree(from); | ^~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Undirected]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of 'lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Directed]': ../inst/include/Model.h:114:51: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Directed]' ../inst/include/Model.h:118:16: required from 'boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::vClone() const [with Engine = lolog::Directed]' ../inst/include/Model.h:117:48: required from here ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Directed]': ../inst/include/Stat.h:394:27: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:390:16: required from 'std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:389:33: required from here ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of 'double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Directed]': ../inst/include/Stat.h:405:27: required from 'double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:401:16: required from 'double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:400:20: required from here ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:302:22: required from 'void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:298:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:297:18: required from here ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::DegreeCrossProd<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::DegreeCrossProd<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::DegreeCrossProd<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] 1173 | double toDeg; | ^~~~~ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] 1174 | double fromDeg; | ^~~~~~~ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] 1185 | double deg = net.degree(from); | ^~~ ../inst/include/Stats.h: In instantiation of 'void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Directed]': ../inst/include/Stat.h:313:56: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:309:16: required from 'std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]' ../inst/include/Stat.h:308:38: required from here ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of 'void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]': ../inst/include/Stat.h:228:23: required from 'void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]' ../inst/include/Stat.h:224:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]' ../inst/include/Stat.h:223:18: required from here ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]': ../inst/include/Stats.h:2865:43: required from 'void lolog::TwoPath<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]' ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of 'void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Directed]': ../inst/include/Stats.h:2865:43: required from 'void lolog::TwoPath<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]' ../inst/include/Stat.h:247:24: required from 'void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:243:9: required from 'void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]' ../inst/include/Stat.h:242:18: required from here ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests.cpp -o tests.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/util.h:9, from ../inst/include/tests.h:7, from tests.cpp:1: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ 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++\memory:75, from ../inst/include/util.h:7: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here 64 | template<typename> class auto_ptr; | ^~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o lolog.dll tmp.def RcppExports.o RcppModule.o StatController.o main.o test_BinaryNet.o test_Constraints.o test_LatentOrderLikelhood.o test_ParamParser.o test_Stats.o tests.o -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_11_13_01_50_00_32639/RtmpioGn1O/R.INSTALL349d46c111cec/lolog/src' make[1]: Entering directory '/d/temp/2024_11_13_01_50_00_32639/RtmpioGn1O/R.INSTALL349d46c111cec/lolog/src' make[1]: Leaving directory '/d/temp/2024_11_13_01_50_00_32639/RtmpioGn1O/R.INSTALL349d46c111cec/lolog/src' installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-lolog/00new/lolog/libs/x64 ** R ** data ** inst ** byte-compile and prepare package for lazy loading in method for '[' with signature '"Rcpp_DirectedNet"': no definition for class "Rcpp_DirectedNet" in method for '[' with signature '"Rcpp_UndirectedNet"': no definition for class "Rcpp_UndirectedNet" in method for '[<-' with signature '"Rcpp_DirectedNet"': no definition for class "Rcpp_DirectedNet" in method for '[<-' with signature '"Rcpp_UndirectedNet"': no definition for class "Rcpp_UndirectedNet" ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'lolog' as lolog_1.3.1.zip * DONE (lolog)