* installing *source* package 'rCausalMGM' ... ** this is package 'rCausalMGM' version '1.0' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Bootstrap.cpp -o Bootstrap.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/MGM.hpp:4, from inc/Bootstrap.hpp:4, from Bootstrap.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ Bootstrap.cpp: In member function 'EdgeListGraph Bootstrap::runBootstrap()': Bootstrap.cpp:65:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 65 | for (arma::uword i = 0; i < B; i++) { | ~~^~~ Bootstrap.cpp:150:10: warning: unused variable 'elapsedTime' [-Wunused-variable] 150 | auto elapsedTime = std::chrono::duration_cast(std::chrono::high_resolution_clock::now()-startTime).count(); | ^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Boss.cpp -o Boss.o In file included from inc/DepthChoiceGenerator.hpp:4, from inc/Boss.hpp:6, from Boss.cpp:3: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20, from inc/DataSet.hpp:15, from inc/Score.hpp:4, from inc/GrowShrinkTree.hpp:5, from inc/Boss.hpp:8: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ Boss.cpp: In member function 'Boss::OrderGraph Boss::bestMove(Node, OrderGraph)': Boss.cpp:365:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 365 | for (int i = 0; i < tau.order.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ Boss.cpp:389:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 389 | for (int i = 0; i < tau.order.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ Boss.cpp:415:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 415 | for (int i = 0; i < tau.order.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ Boss.cpp:428:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 428 | for (int i = 0; i < tau.order.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ Boss.cpp: In member function 'bool Boss::isClique(const std::set&, EdgeListGraph&)': Boss.cpp:535:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::set::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 535 | for (int i = 0; i < nodes.size()-1; i++) { | ~~^~~~~~~~~~~~~~~~ Boss.cpp:536:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::set::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 536 | for (int j = i + 1; j < nodes.size(); j++) { | ~~^~~~~~~~~~~~~~ Boss.cpp: In member function 'bool Boss::bestDelete(EdgeListGraph&)': Boss.cpp:744:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 744 | for (int i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from inc/Boss.hpp:7: inc/BlockingQueue.hpp: In instantiation of 'void BlockingQueue::push(const T&) [with T = Boss::DeleteTask]': Boss.cpp:605:17: required from here 605 | taskQueue.push(task); | ~~~~~~~~~~~~~~^~~~~~ inc/BlockingQueue.hpp:85:54: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 85 | c_tail.wait(lock, [=] { return (tail - head) != capacity; }); | ~~~~~~~~~~~~~~^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CensoredVariable.cpp -o CensoredVariable.o In file included from inc/Variable.hpp:17, from inc/CensoredVariable.hpp:15, from CensoredVariable.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ CensoredVariable.cpp: In member function 'virtual bool CensoredVariable::checkValue(const std::string&)': CensoredVariable.cpp:5:12: warning: unused variable 'value' [-Wunused-variable] 5 | double value = stod(val); | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ChoiceGenerator.cpp -o ChoiceGenerator.o In file included from inc/ChoiceGenerator.hpp:4, from ChoiceGenerator.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ContinuousVariable.cpp -o ContinuousVariable.o In file included from inc/Variable.hpp:17, from inc/ContinuousVariable.hpp:13, from ContinuousVariable.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ ContinuousVariable.cpp: In member function 'virtual bool ContinuousVariable::checkValue(const std::string&)': ContinuousVariable.cpp:5:16: warning: unused variable 'value' [-Wunused-variable] 5 | double value = stod(val); | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CoxIRLSRegression.cpp -o CoxIRLSRegression.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/CoxIRLSRegression.hpp:4, from CoxIRLSRegression.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ CoxIRLSRegression.cpp: In constructor 'CoxIRLSRegression::CoxIRLSRegression(DataSet&)': CoxIRLSRegression.cpp:13:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 13 | for (arma::uword i = 0; i < data.getNumRows(); i++) | ~~^~~~~~~~~~~~~~~~~~~ CoxIRLSRegression.cpp: In member function 'CoxRegressionResult CoxIRLSRegression::regress(const Node&, std::vector&)': CoxIRLSRegression.cpp:67:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 67 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxIRLSRegression.cpp:249:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 249 | for (arma::uword i = 0; i < k; i++) { | ~~^~~ CoxIRLSRegression.cpp:259:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 259 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxIRLSRegression.cpp:63:9: warning: unused variable 'target_' [-Wunused-variable] 63 | int target_ = data.getColumn(target); | ^~~~~~~ CoxIRLSRegression.cpp: In member function 'CoxRegressionResult CoxIRLSRegression::regress(const Node&, std::vector&, arma::uvec&)': CoxIRLSRegression.cpp:284:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 284 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxIRLSRegression.cpp:494:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 494 | for (arma::uword i = 0; i < k; i++) { | ~~^~~ CoxIRLSRegression.cpp:505:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 505 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxIRLSRegression.cpp: In member function 'double CoxIRLSRegression::loss(arma::vec&, arma::mat&, Node)': CoxIRLSRegression.cpp:539:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 539 | for (int j = 0; j < H.n_elem; j++) { | ~~^~~~~~~~~~ CoxIRLSRegression.cpp:543:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 543 | for (int k = 0; k < H[j]; k++) { CoxIRLSRegression.cpp:557:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 557 | if ((H[j] + i) != n) { | ~~~~~~~~~~~^~~~ CoxIRLSRegression.cpp: In member function 'double CoxIRLSRegression::gradHess(arma::vec&, arma::vec&, arma::vec&, Node)': CoxIRLSRegression.cpp:610:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 610 | for (int j = 0; j < H.n_elem; j++) { | ~~^~~~~~~~~~ CoxIRLSRegression.cpp:617:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 617 | for (int k = 0; k < H[j]; k++) { CoxIRLSRegression.cpp:628:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 628 | if ((H[j] + i) != n) { | ~~~~~~~~~~~^~~~ CoxIRLSRegression.cpp:649:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 649 | for (int k = 0; k < H[j]; k++) { CoxIRLSRegression.cpp: In member function 'void CoxIRLSRegression::infoMat(arma::vec&, arma::mat&, arma::mat&, Node)': CoxIRLSRegression.cpp:698:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 698 | for (int j = 0; j < H.n_elem; j++) { | ~~^~~~~~~~~~ CoxIRLSRegression.cpp:709:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 709 | for (int k = 0; k < H[j]; k++) { CoxIRLSRegression.cpp:731:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 731 | if ((H[j] + i) != n) { | ~~~~~~~~~~~^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CoxMGM.cpp -o CoxMGM.o In file included from inc/ConvexProximal.hpp:15, from inc/CoxMGM.hpp:7, from CoxMGM.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20, from inc/DataSet.hpp:15, from inc/CoxMGM.hpp:8: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ CoxMGM.cpp: In constructor 'CoxMGM::CoxMGM(DataSet, std::vector >, std::vector)': CoxMGM.cpp:18:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 18 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ CoxMGM.cpp:29:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 29 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ CoxMGM.cpp:46:18: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 46 | if (l.size() != this->q) | ~~~~~~~~~^~~~~~~~~~ CoxMGM.cpp:8:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 8 | bool mixed = true; | ^~~~~ CoxMGM.cpp: In constructor 'CoxMGM::CoxMGM(DataSet&)': CoxMGM.cpp:132:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 132 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ CoxMGM.cpp:143:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 143 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ CoxMGM.cpp:122:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 122 | bool mixed = true; | ^~~~~ CoxMGM.cpp: In constructor 'CoxMGM::CoxMGM(DataSet&, std::vector&)': CoxMGM.cpp:236:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 236 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ CoxMGM.cpp:247:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 247 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ CoxMGM.cpp:226:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 226 | bool mixed = true; | ^~~~~ CoxMGM.cpp: In member function 'void CoxMGM::initParameters()': CoxMGM.cpp:335:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 335 | for(int i = 0; i < l.size(); i++){ | ~~^~~~~~~~~~ CoxMGM.cpp: In member function 'void CoxMGM::calcWeights()': CoxMGM.cpp:377:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 377 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:382:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 382 | for (arma::uword j = 0; j < q; j++) { | ~~^~~ CoxMGM.cpp: In member function 'arma::vec CoxMGM::coxGradHess(arma::mat&, arma::mat&, arma::mat&)': CoxMGM.cpp:648:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | for (int strat = 0; strat < numStrata(m); strat++) { | ~~~~~~^~~~~~~~~~~~~~ CoxMGM.cpp:656:31: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 656 | for (int j = 0; j < HList[m][strat].n_elem; j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ CoxMGM.cpp:663:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 663 | for (int k = 0; k < HList[m][strat][j]; k++) { CoxMGM.cpp:674:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 674 | if ((HList[m][strat][j] + i) != n) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CoxMGM.cpp:697:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 697 | for (int k = 0; k < HList[m][strat][j]; k++) { CoxMGM.cpp: In member function 'double CoxMGM::calcLambdaMax()': CoxMGM.cpp:724:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 724 | for(int i = 0; i < l.size(); i++){ | ~~^~~~~~~~~~ CoxMGM.cpp:771:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 771 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:815:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 815 | for (arma::uword i = 0; i < r; i++) { | ~~^~~ CoxMGM.cpp: In member function 'virtual double CoxMGM::smooth(arma::vec&, arma::vec&)': CoxMGM.cpp:893:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 893 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ CoxMGM.cpp:926:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 926 | for (arma::uword i = 0; i < n; i++) { | ~~^~~ CoxMGM.cpp:988:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 988 | for (arma::uword k = 0; k < n; k++) { | ~~^~~ CoxMGM.cpp:1025:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1025 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ CoxMGM.cpp:1087:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1087 | for(arma::uword i = 0; i < p; i++){ | ~~^~~ CoxMGM.cpp: In member function 'virtual double CoxMGM::smoothValue(arma::vec&)': CoxMGM.cpp:1175:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1175 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ CoxMGM.cpp:1201:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1201 | for (arma::uword i = 0; i < n; i++) { | ~~^~~ CoxMGM.cpp:1230:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1230 | for (arma::uword k = 0; k < n; k++) { | ~~^~~ CoxMGM.cpp: In member function 'virtual double CoxMGM::nonSmooth(double, arma::vec&, arma::vec&)': CoxMGM.cpp:1300:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1300 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:1301:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1301 | for (arma::uword j = 0; j < p; j++) { | ~~^~~ CoxMGM.cpp:1332:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1332 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:1384:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1384 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:1385:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1385 | for (arma::uword j = 0; j < r; j++) { | ~~^~~ CoxMGM.cpp:1399:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1399 | for (arma::uword i = 0; i < r; i++) { | ~~^~~ CoxMGM.cpp:1265:12: warning: unused variable 'nonSmooth' [-Wunused-variable] 1265 | double nonSmooth = 0; | ^~~~~~~~~ CoxMGM.cpp: In member function 'virtual double CoxMGM::nonSmoothValue(arma::vec&)': CoxMGM.cpp:2266:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2266 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:2267:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2267 | for (arma::uword j = i+1; j < p; j++) { | ~~^~~ CoxMGM.cpp:2292:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2292 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:2345:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2345 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:2346:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2346 | for (arma::uword j = 0; j < r; j++) { | ~~^~~ CoxMGM.cpp:2360:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2360 | for (arma::uword i = 0; i < r; i++) { | ~~^~~ CoxMGM.cpp: In member function 'virtual arma::vec CoxMGM::smoothGradient(arma::vec&)': CoxMGM.cpp:2488:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2488 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ CoxMGM.cpp:2524:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2524 | for (arma::uword i = 0; i < n; i++) { | ~~^~~ CoxMGM.cpp:2525:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2525 | for (arma::uword j = 0; j < p; j++) { | ~~^~~ CoxMGM.cpp:2571:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2571 | for (arma::uword k = 0; k < n; k++) { | ~~^~~ CoxMGM.cpp:2604:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2604 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ CoxMGM.cpp:2697:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2697 | for(arma::uword i = 0; i < p; i++){ | ~~^~~ CoxMGM.cpp: In member function 'virtual arma::vec CoxMGM::proximalOperator(double, arma::vec&)': CoxMGM.cpp:2795:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2795 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:2866:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2866 | for (arma::uword i = 0; i < r; i++) { | ~~^~~ CoxMGM.cpp: In member function 'arma::mat CoxMGM::adjMatFromCoxMGM()': CoxMGM.cpp:3187:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3187 | for (arma::uword i = 0; i < p-pDummy; i++) { | ~~^~~~~~~~~~ CoxMGM.cpp:3188:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3188 | for (arma::uword j = 0; j < q-qDummy; j++) { | ~~^~~~~~~~~~ CoxMGM.cpp:3195:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3195 | for (arma::uword i = 0; i < p-pDummy; i++) { | ~~^~~~~~~~~~ CoxMGM.cpp:3196:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3196 | for (arma::uword j = 0; j < r; j++) { | ~~^~~ CoxMGM.cpp:3203:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3203 | for (arma::uword i = 0; i < q-qDummy; i++) { | ~~^~~~~~~~~~ CoxMGM.cpp:3204:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3204 | for (arma::uword j = i+1; j < q-qDummy; j++) { | ~~^~~~~~~~~~ CoxMGM.cpp:3211:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3211 | for (arma::uword i = 0; i < q-qDummy; i++) { | ~~^~~~~~~~~~ CoxMGM.cpp:3212:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3212 | for (arma::uword j = 0; j < r; j++) { | ~~^~~ CoxMGM.cpp:3221:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3221 | for(arma::uword i = 0; i < p+q+r-pDummy-qDummy; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~ CoxMGM.cpp: In member function 'EdgeListGraph CoxMGM::graphFromCoxMGM()': CoxMGM.cpp:3238:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3238 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:3239:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3239 | for (arma::uword j = i+1; j < p; j++) { | ~~^~~ CoxMGM.cpp:3251:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3251 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:3252:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3252 | for (arma::uword j = 0; j < q; j++) { | ~~^~~ CoxMGM.cpp:3264:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3264 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ CoxMGM.cpp:3265:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3265 | for (arma::uword j = i+1; j < q; j++) { | ~~^~~ CoxMGM.cpp:3277:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3277 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ CoxMGM.cpp:3278:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3278 | for (arma::uword j = 0; j < r; j++) { | ~~^~~ CoxMGM.cpp:3290:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3290 | for (arma::uword i = 0; i < r; i++) { | ~~^~~ CoxMGM.cpp:3291:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3291 | for (arma::uword j = 0; j < q; j++) { | ~~^~~ CoxMGM.cpp: In member function 'std::vector CoxMGM::searchPath(std::vector, arma::vec&, arma::vec&)': CoxMGM.cpp:3349:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3349 | for (int i = 0; i < lambdas.size(); i++) { | ~~^~~~~~~~~~~~~~~~ CoxMGM.cpp: In member function 'std::vector CoxMGM::searchPath(std::vector)': CoxMGM.cpp:3403:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3403 | for (int i = 0; i < lambdas.size(); i++) { | ~~^~~~~~~~~~~~~~~~ CoxMGM.cpp: In member function 'std::vector CoxMGM::searchPathCV(std::vector, arma::uvec&, arma::mat&, arma::uvec&)': CoxMGM.cpp:3462:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 3462 | for (int i = 0; i < lambdas.size(); i++) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CoxMGMParams.cpp -o CoxMGMParams.o In file included from inc/CoxMGMParams.hpp:4, from CoxMGMParams.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ CoxMGMParams.cpp: In constructor 'CoxMGMParams::CoxMGMParams(arma::vec&, int, int, int)': CoxMGMParams.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 37 | for (int i = 1; i < lenSums.size(); i++) { | ~~^~~~~~~~~~~~~~~~ CoxMGMParams.cpp: In member function 'arma::vec CoxMGMParams::toMatrix1D()': CoxMGMParams.cpp:65:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 65 | for (int i = 1; i < lenSums.size(); i++) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CoxRegression.cpp -o CoxRegression.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/CoxRegression.hpp:4, from CoxRegression.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ CoxRegression.cpp: In constructor 'CoxRegression::CoxRegression(DataSet&)': CoxRegression.cpp:12:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 12 | for (arma::uword i = 0; i < data.getNumRows(); i++) | ~~^~~~~~~~~~~~~~~~~~~ CoxRegression.cpp: In member function 'CoxRegressionResult CoxRegression::regress(const Node&, std::vector&)': CoxRegression.cpp:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 29 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxRegression.cpp:147:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 147 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxRegression.cpp: In member function 'CoxRegressionResult CoxRegression::regress(const Node&, std::vector&, arma::uvec&)': CoxRegression.cpp:173:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 173 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxRegression.cpp:293:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 293 | for (int i = 0; i < regressors.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ CoxRegression.cpp:192:26: warning: unused variable 'a' [-Wunused-variable] 192 | double old_l, new_l, a, m, t, c = 0.1; | ^ CoxRegression.cpp:192:29: warning: unused variable 'm' [-Wunused-variable] 192 | double old_l, new_l, a, m, t, c = 0.1; | ^ CoxRegression.cpp:192:32: warning: unused variable 't' [-Wunused-variable] 192 | double old_l, new_l, a, m, t, c = 0.1; | ^ CoxRegression.cpp:192:35: warning: unused variable 'c' [-Wunused-variable] 192 | double old_l, new_l, a, m, t, c = 0.1; | ^ CoxRegression.cpp: In member function 'double CoxRegression::loss(arma::vec&, arma::mat&, const Node&)': CoxRegression.cpp:331:38: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 331 | for (uint rowIdx = 0; rowIdx < n; rowIdx++) { | ~~~~~~~^~~ CoxRegression.cpp:341:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 341 | for (int j = 0; j < H.n_elem; j++) { | ~~^~~~~~~~~~ CoxRegression.cpp:346:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 346 | for (int k = 0; k < H[j]; k++) { CoxRegression.cpp:362:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 362 | if ((H[j] + i) != n) { | ~~~~~~~~~~~^~~~ CoxRegression.cpp:323:35: warning: unused variable 'd' [-Wunused-variable] 323 | double HsumTheta, m, sub, d, phi; | ^ CoxRegression.cpp:323:38: warning: unused variable 'phi' [-Wunused-variable] 323 | double HsumTheta, m, sub, d, phi; | ^~~ CoxRegression.cpp: In member function 'double CoxRegression::gradHess(arma::vec&, arma::vec&, arma::mat&, arma::mat&, const Node&)': CoxRegression.cpp:430:38: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 430 | for (uint rowIdx = 0; rowIdx < n; rowIdx++) { | ~~~~~~~^~~ CoxRegression.cpp:447:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 447 | for (int j = 0; j < H.n_elem; j++) { | ~~^~~~~~~~~~ CoxRegression.cpp:461:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 461 | for (int k = 0; k < H[j]; k++) { CoxRegression.cpp:491:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 491 | if ((H[j] + i) != n) { | ~~~~~~~~~~~^~~~ CoxRegression.cpp: In member function 'double CoxRegression::etaGradHess(arma::vec&, arma::vec&, arma::vec&, const Node&)': CoxRegression.cpp:574:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 574 | for (int j = 0; j < H.n_elem; j++) { | ~~^~~~~~~~~~ CoxRegression.cpp:581:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 581 | for (int k = 0; k < H[j]; k++) { CoxRegression.cpp:592:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 592 | if ((H[j] + i) != n) { | ~~~~~~~~~~~^~~~ CoxRegression.cpp:613:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 613 | for (int k = 0; k < H[j]; k++) { g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CoxRegressionResult.cpp -o CoxRegressionResult.o In file included from inc/CoxRegressionResult.hpp:4, from CoxRegressionResult.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ CoxRegressionResult.cpp: In function 'std::ostream& operator<<(std::ostream&, const CoxRegressionResult&)': CoxRegressionResult.cpp:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 39 | for (int i = 0; i < crr.regressorNames.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ CoxRegressionResult.cpp:48:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 48 | for (int i = 0; i < crr.b.size(); i++) { | ~~^~~~~~~~~~~~~~ CoxRegressionResult.cpp:54:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 54 | for (int i = 0; i < crr.b.size(); i++) { | ~~^~~~~~~~~~~~~~ CoxRegressionResult.cpp:60:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < crr.t.size(); i++) { | ~~^~~~~~~~~~~~~~ CoxRegressionResult.cpp:66:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 66 | for (int i = 0; i < crr.p.size(); i++) { | ~~^~~~~~~~~~~~~~ CoxRegressionResult.cpp:72:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 72 | for (int i = 0; i < crr.se.size(); i++) { | ~~^~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DataSet.cpp -o DataSet.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from DataSet.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ DataSet.cpp: In constructor 'DataSet::DataSet(const Rcpp::DataFrame&)': DataSet.cpp:110:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 110 | for (int cat = 0; cat < levels.size(); cat++) { | ~~~~^~~~~~~~~~~~~~~ DataSet.cpp:125:59: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 125 | for (int cat = 0; cat < uniqVals.size(); cat++) { | ~~~~^~~~~~~~~~~~~~~~~ DataSet.cpp:198:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 198 | for (int cat = 0; cat < levels.size(); cat++) { | ~~~~^~~~~~~~~~~~~~~ DataSet.cpp: In member function 'void DataSet::removeVariable(Node)': DataSet.cpp:454:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 454 | for (int i = idx; i < variables.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ DataSet.cpp: In member function 'arma::mat DataSet::getContinuousData()': DataSet.cpp:845:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 845 | for (arma::uword i = 0; i < m; i++) { | ~~^~~ DataSet.cpp: In member function 'arma::mat DataSet::getDiscreteData()': DataSet.cpp:856:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 856 | for (arma::uword i = 0; i < m; i++) { | ~~^~~ DataSet.cpp: In member function 'arma::mat DataSet::getCensoredData()': DataSet.cpp:867:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 867 | for (arma::uword i = 0; i < m; i++) { | ~~^~~ DataSet.cpp: In member function 'std::vector > DataSet::getDiscLevels()': DataSet.cpp:878:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 878 | for (arma::uword i = 0; i < m; i++) { | ~~^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DegenerateGaussianScore.cpp -o DegenerateGaussianScore.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/Score.hpp:4, from inc/DegenerateGaussianScore.hpp:4, from DegenerateGaussianScore.cpp:3: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ DegenerateGaussianScore.cpp: In constructor 'DegenerateGaussianScore::DegenerateGaussianScore(DataSet, double)': DegenerateGaussianScore.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 30 | for (int i = 0; i < variables.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ DegenerateGaussianScore.cpp: In member function 'virtual Node DegenerateGaussianScore::getVariable(std::string)': DegenerateGaussianScore.cpp:174:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 174 | for (int i = 0; i < getVariables().size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ DegenerateGaussianScore.cpp:176:25: warning: possibly dangling reference to a temporary [-Wdangling-reference] 176 | const Node& var = getVariables().at(i); | ^~~ DegenerateGaussianScore.cpp:176:48: note: the temporary was destroyed at the end of the full expression 'DegenerateGaussianScore::getVariables().std::vector::at(((std::vector::size_type)i))' 176 | const Node& var = getVariables().at(i); | ~~~~~~~~~~~~~~~~~^~~ DegenerateGaussianScore.cpp: In function 'void DGScoreTest2(const Rcpp::DataFrame&)': DegenerateGaussianScore.cpp:220:12: warning: variable 'score' set but not used [-Wunused-but-set-variable] 220 | double score; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DepthChoiceGenerator.cpp -o DepthChoiceGenerator.o In file included from inc/DepthChoiceGenerator.hpp:4, from DepthChoiceGenerator.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DiscreteVariable.cpp -o DiscreteVariable.o In file included from inc/Variable.hpp:17, from inc/DiscreteVariable.hpp:13, from DiscreteVariable.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ DiscreteVariable.cpp: In member function 'int DiscreteVariable::getIndex(const std::string&)': DiscreteVariable.cpp:9:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 9 | for (int i = 0; i < categories.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ DiscreteVariable.cpp: In member function 'virtual bool DiscreteVariable::checkValue(const std::string&)': DiscreteVariable.cpp:18:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 18 | for (int i = 0; i < categories.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Edge.cpp -o Edge.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/Edge.hpp:4, from Edge.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ Edge.cpp: In static member function 'static bool Edge::isDirectedEdge(const Edge&)': Edge.cpp:208:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 208 | (edge.endpoint2 == ENDPOINT_TAIL) && (edge.endpoint1 == ENDPOINT_ARROW); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edge.cpp: In static member function 'static bool Edge::isPartiallyOrientedEdge(const Edge&)': Edge.cpp:216:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 216 | (edge.endpoint2 == ENDPOINT_CIRCLE) && (edge.endpoint1 == ENDPOINT_ARROW); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c EdgeListGraph.cpp -o EdgeListGraph.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from EdgeListGraph.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ EdgeListGraph.cpp: In function 'void streamGraph(const Rcpp::List&, std::ostream&, std::string)': EdgeListGraph.cpp:1872:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1872 | if (count < nodeNames.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ EdgeListGraph.cpp: In function 'Rcpp::List loadGraph(const std::string&)': EdgeListGraph.cpp:2029:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2029 | for (; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ EdgeListGraph.cpp:2104:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2104 | for (; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ EdgeListGraph.cpp:2125:5: warning: label 'END' defined but not used [-Wunused-label] 2125 | END: | ^~~ EdgeListGraph.cpp: In function 'Rcpp::List adjMat2Graph(arma::mat, Rcpp::StringVector, bool)': EdgeListGraph.cpp:2173:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2173 | for (int i = 0; i < nodeNames.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ EdgeListGraph.cpp: In member function 'EdgeListGraph EdgeListGraph::getPAG(std::vector&)': EdgeListGraph.cpp:2447:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2447 | for (int i = 0; i < observedNodes.size()-1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ EdgeListGraph.cpp:2448:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2448 | for (int j = i+1; j < observedNodes.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c FasStableProducerConsumer.cpp -o FasStableProducerConsumer.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/FasStableProducerConsumer.hpp:6, from FasStableProducerConsumer.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ FasStableProducerConsumer.cpp: In member function 'bool FasStableProducerConsumer::searchAtDepth0()': FasStableProducerConsumer.cpp:227:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 227 | for (int i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:240:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 240 | for (int i = 0; i < nodes.size(); i++) { | ~~^~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:243:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 243 | for (int j = i+1; j < nodes.size(); j++) { | ~~^~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:287:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 287 | for (int i = 0; i < edgeVec.size(); i++) { | ~~^~~~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:291:20: warning: unused variable 'alphaStar' [-Wunused-variable] 291 | double alphaStar = ((double) edgeVec.size()-i) / | ^~~~~~~~~ FasStableProducerConsumer.cpp:285:16: warning: unused variable 'maxFdrpval' [-Wunused-variable] 285 | double maxFdrpval = 0; | ^~~~~~~~~~ FasStableProducerConsumer.cpp:327:16: warning: unused variable 'minFdrpval' [-Wunused-variable] 327 | double minFdrpval = 1.0; | ^~~~~~~~~~ FasStableProducerConsumer.cpp: In member function 'void FasStableProducerConsumer::producerDepth0()': FasStableProducerConsumer.cpp:345:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 345 | for (int i = 0; i < nodes.size(); i++) { | ~~^~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:348:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 348 | for (int j = i+1; j < nodes.size(); j++) { | ~~^~~~~~~~~~~~~~ FasStableProducerConsumer.cpp: In member function 'void FasStableProducerConsumer::producerDepth(int, std::unordered_map >&)': FasStableProducerConsumer.cpp:517:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 517 | if (ppx.size() >= depth) { | ~~~~~~~~~~~^~~~~~~~ FasStableProducerConsumer.cpp: In member function 'int FasStableProducerConsumer::freeDegree()': FasStableProducerConsumer.cpp:571:29: warning: comparison of integer expressions of different signedness: 'std::unordered_set::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 571 | if (adjx.size() > max) { | ~~~~~~~~~~~~^~~~~ FasStableProducerConsumer.cpp: In member function 'bool FasStableProducerConsumer::searchAtDepth(int)': FasStableProducerConsumer.cpp:622:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 622 | for (int i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:666:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 666 | for (int i = 0; i < edgeVec.size(); i++) { | ~~^~~~~~~~~~~~~~~~ FasStableProducerConsumer.cpp:670:20: warning: unused variable 'alphaStar' [-Wunused-variable] 670 | double alphaStar = ((double) edgeVec.size()-i) / | ^~~~~~~~~ FasStableProducerConsumer.cpp:664:16: warning: unused variable 'maxFdrpval' [-Wunused-variable] 664 | double maxFdrpval = 0; | ^~~~~~~~~~ FasStableProducerConsumer.cpp:701:16: warning: unused variable 'minFdrpval' [-Wunused-variable] 701 | double minFdrpval = 1.0; | ^~~~~~~~~~ In file included from inc/FasStableProducerConsumer.hpp:9: inc/BlockingQueue.hpp: In instantiation of 'void BlockingQueue::push(const T&) [with T = FasStableProducerConsumer::IndependenceTask]': FasStableProducerConsumer.cpp:375:27: required from here 375 | taskQueue.push(IndependenceTask(x, y, empty)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inc/BlockingQueue.hpp:85:54: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 85 | c_tail.wait(lock, [=] { return (tail - head) != capacity; }); | ~~~~~~~~~~~~~~^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Fci.cpp -o Fci.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/Fci.hpp:20, from Fci.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ Fci.cpp: In constructor 'Fci::Fci(IndependenceTest*, std::vector)': Fci.cpp:45:14: warning: variable 'it' set but not used [-Wunused-but-set-variable] 45 | auto it = std::remove(this->variables.begin(), this->variables.end(), var); | ^~ Fci.cpp: In member function 'std::vector Fci::getSepset(const Node&, const Node&, SepsetMap&)': Fci.cpp:510:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 510 | if (d <= ppa.size()) { | ~~^~~~~~~~~~~~~ Fci.cpp:524:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 524 | if (d <= ppb.size()) { | ~~^~~~~~~~~~~~~ Fci.cpp: In member function 'std::vector Fci::getMinSepset(const Node&, const Node&, std::vector&, double*)': Fci.cpp:553:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 553 | for (int d = 0; d <= sepset.size(); d++) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c FciOrient.cpp -o FciOrient.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/FciOrient.hpp:23, from FciOrient.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ FciOrient.cpp: In member function 'void FciOrient::spirtesFinalOrientation(EdgeListGraph&)': FciOrient.cpp:522:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 522 | if (changeFlag || firstTime && !knowledge.isEmpty()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ FciOrient.cpp: In member function 'void FciOrient::zhangFinalOrientation(EdgeListGraph&)': FciOrient.cpp:539:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 539 | if (changeFlag || firstTime && !knowledge.isEmpty()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ FciOrient.cpp: In member function 'void FciOrient::reachablePathFind(const Node&, const Node&, const Node&, std::__cxx11::list, EdgeListGraph&)': FciOrient.cpp:721:18: warning: variable 'it' set but not used [-Wunused-but-set-variable] 721 | auto it = std::remove(pathExtensions.begin(), pathExtensions.end(), var); | ^~ FciOrient.cpp: In member function 'void FciOrient::orientTailPath(std::vector, EdgeListGraph&)': FciOrient.cpp:944:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 944 | for (int i = 0; i < path.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~ FciOrient.cpp: In member function 'std::vector > FciOrient::getUcCirclePaths(const Node&, const Node&, EdgeListGraph&)': FciOrient.cpp:1044:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1044 | for (int i = 0; i < path.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~ FciOrient.cpp:1056:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1056 | if (i == path.size() - 2) { | ~~^~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c GraphUtils.cpp -o GraphUtils.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/GraphUtils.hpp:8, from GraphUtils.cpp:2: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ GraphUtils.cpp: In static member function 'static EdgeListGraph GraphUtils::completeGraph(EdgeListGraph&)': GraphUtils.cpp:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 55 | for (int i = 0; i < nodes.size(); i++) { | ~~^~~~~~~~~~~~~~ GraphUtils.cpp:56:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 56 | for (int j = i+1; j < nodes.size(); j++) { | ~~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grasp.cpp -o Grasp.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/Score.hpp:4, from inc/GrowShrinkTree.hpp:5, from inc/Grasp.hpp:7, from Grasp.cpp:3: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ Grasp.cpp: In member function 'std::__cxx11::list Grasp::initializeBOSS()': Grasp.cpp:79:12: warning: variable 'oldScore' set but not used [-Wunused-but-set-variable] 79 | double oldScore = nodeList.size() * nodeList.size(); | ^~~~~~~~ Grasp.cpp: In member function 'Grasp::OrderGraph Grasp::bestMove(Node, OrderGraph)': Grasp.cpp:267:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 267 | for (int i = 0; i < tau.order.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ Grasp.cpp:291:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 291 | for (int i = 0; i < tau.order.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ Grasp.cpp:317:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 317 | for (int i = 0; i < tau.order.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ Grasp.cpp:330:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 330 | for (int i = 0; i < tau.order.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ Grasp.cpp: In member function 'std::__cxx11::list Grasp::initializeMinDegree()': Grasp.cpp:398:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 398 | for (int i = 0; i < _tier.size(); i++) { | ~~^~~~~~~~~~~~~~ Grasp.cpp: In member function 'std::__cxx11::list Grasp::minDegreeAlgorithm(EdgeListGraph)': Grasp.cpp:465:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 465 | for (int i = 1; i < adjNodes.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ Grasp.cpp: In member function 'bool Grasp::graspDFS(int)': Grasp.cpp:707:12: warning: unused variable 'oldScore' [-Wunused-variable] 707 | double oldScore = tau.score; | ^~~~~~~~ Grasp.cpp:708:12: warning: unused variable 'oldBic' [-Wunused-variable] 708 | double oldBic = tau.bic; | ^~~~~~ Grasp.cpp:710:12: warning: unused variable 'bicThresh' [-Wunused-variable] 710 | double bicThresh = std::log(10.0); // Bayes Factor K = sqrt(10), | ^~~~~~~~~ Grasp.cpp: In member function 'EdgeListGraph Grasp::search()': Grasp.cpp:1054:12: warning: unused variable 'bicThresh' [-Wunused-variable] 1054 | double bicThresh = std::log(10.0); | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c GrowShrink.cpp -o GrowShrink.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/Score.hpp:4, from inc/GrowShrink.hpp:4, from GrowShrink.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c GrowShrinkTree.cpp -o GrowShrinkTree.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/Score.hpp:4, from inc/GrowShrinkTree.hpp:5, from GrowShrinkTree.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ GrowShrinkTree.cpp: In member function 'std::vector GrowShrinkTree::growShrink(std::vector&, double*)': GrowShrinkTree.cpp:32:29: warning: unused variable 'curScore' [-Wunused-variable] 32 | double oldScore = 1e20, curScore = root->score, score; | ^~~~~~~~ GrowShrinkTree.cpp:32:53: warning: unused variable 'score' [-Wunused-variable] 32 | double oldScore = 1e20, curScore = root->score, score; | ^~~~~ GrowShrinkTree.cpp: In function 'std::vector GrowShrinkTreeParallelSubSetTest(const Rcpp::DataFrame&, std::string, int, int)': GrowShrinkTree.cpp:382:12: warning: unused variable 'score' [-Wunused-variable] 382 | double score; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c IndTestMulti.cpp -o IndTestMulti.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/IndependenceTest.hpp:4, from inc/IndTestMulti.hpp:4, from IndTestMulti.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ IndTestMulti.cpp: In member function 'bool IndTestMulti::isIndependentMultinomialLogisticRegression(const Node&, const Node&, std::vector&, double*)': IndTestMulti.cpp:274:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 274 | for (int i = 0; i < variablesPerNode.at(x).size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IndTestMulti.cpp: In member function 'virtual Node IndTestMulti::getVariable(std::string)': IndTestMulti.cpp:710:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 710 | for (int i = 0; i < getVariables().size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ IndTestMulti.cpp:712:21: warning: possibly dangling reference to a temporary [-Wdangling-reference] 712 | const Node& var = getVariables().at(i); | ^~~ IndTestMulti.cpp:712:44: note: the temporary was destroyed at the end of the full expression 'IndTestMulti::getVariables().std::vector::at(((std::vector::size_type)i))' 712 | const Node& var = getVariables().at(i); | ~~~~~~~~~~~~~~~~~^~~ IndTestMulti.cpp: In member function 'arma::mat IndTestMulti::getSubsetData(DataSet&, std::vector&)': IndTestMulti.cpp:728:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 728 | for (int i = 0; i < varSubset.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ IndTestMulti.cpp:734:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 734 | for (int i = 0; i < origMat.n_rows; i++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c IndTestMultiCox.cpp -o IndTestMultiCox.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/IndependenceTest.hpp:4, from inc/IndTestMultiCox.hpp:4, from IndTestMultiCox.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ IndTestMultiCox.cpp: In member function 'bool IndTestMultiCox::isIndependentMultinomialLogisticRegression(const Node&, const Node&, std::vector&, double*)': IndTestMultiCox.cpp:333:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 333 | for (int i = 0; i < variablesPerNode.at(x).size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IndTestMultiCox.cpp: In member function 'virtual Node IndTestMultiCox::getVariable(std::string)': IndTestMultiCox.cpp:874:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 874 | for (int i = 0; i < getVariables().size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ IndTestMultiCox.cpp:876:21: warning: possibly dangling reference to a temporary [-Wdangling-reference] 876 | const Node& var = getVariables().at(i); | ^~~ IndTestMultiCox.cpp:876:44: note: the temporary was destroyed at the end of the full expression 'IndTestMultiCox::getVariables().std::vector::at(((std::vector::size_type)i))' 876 | const Node& var = getVariables().at(i); | ~~~~~~~~~~~~~~~~~^~~ IndTestMultiCox.cpp: In member function 'arma::mat IndTestMultiCox::getSubsetData(DataSet&, std::vector&)': IndTestMultiCox.cpp:891:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 891 | for (int i = 0; i < varSubset.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Knowledge.cpp -o Knowledge.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/Knowledge.hpp:4, from Knowledge.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ Knowledge.cpp: In constructor 'Knowledge::Knowledge(std::vector, Rcpp::List&)': Knowledge.cpp:44:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 44 | for (int i = 0; i < tiers.size(); i++) { | ~~^~~~~~~~~~~~~~ Knowledge.cpp:80:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 80 | for (int i = 0; i < nodes.size(); i++) { | ~~^~~~~~~~~~~~~~ Knowledge.cpp: In member function 'bool Knowledge::isForbiddenByTiers(const Node&, const Node&)': Knowledge.cpp:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < tiers.size(); i++) { | ~~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LinearRegression.cpp -o LinearRegression.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/LinearRegression.hpp:4, from LinearRegression.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ LinearRegression.cpp: In constructor 'LinearRegression::LinearRegression(DataSet&)': LinearRegression.cpp:13:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 13 | for (arma::uword i = 0; i < data.getNumRows(); i++) | ~~^~~~~~~~~~~~~~~~~~~ LinearRegression.cpp: In member function 'RegressionResult LinearRegression::regress(const Node&, std::vector&)': LinearRegression.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 31 | for (int i = 0; i < regressors.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ LinearRegression.cpp:63:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 63 | for (int i = 0; i < regressors.size()-1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ LinearRegression.cpp:125:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 125 | for (int i = 0; i < regressors.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ LinearRegression.cpp: In member function 'RegressionResult LinearRegression::regress(const Node&, std::vector&, arma::uvec&)': LinearRegression.cpp:148:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 148 | for (int i = 0; i < regressors.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ LinearRegression.cpp:181:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 181 | for (int i = 0; i < regressors.size()-1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ LinearRegression.cpp:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 243 | for (int i = 0; i < regressors.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LogisticRegression.cpp -o LogisticRegression.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/LogisticRegression.hpp:4, from LogisticRegression.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ LogisticRegression.cpp: In member function 'LogisticRegressionResult LogisticRegression::regress(const Node&, std::vector&)': LogisticRegression.cpp:71:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 71 | for (int l = 0; l < regressors.size(); l++) | ~~^~~~~~~~~~~~~~~~~~~ LogisticRegression.cpp: In member function 'LogisticRegressionResult LogisticRegression::regress(const Node&, std::vector&, arma::uvec)': LogisticRegression.cpp:129:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 129 | for (int l = 0; l < regressors.size(); l++) | ~~^~~~~~~~~~~~~~~~~~~ LogisticRegression.cpp: In member function 'LogisticRegressionResult LogisticRegression::regress(arma::uvec&, std::string, arma::mat&, std::vector >&)': LogisticRegression.cpp:172:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 172 | for (arma::uword i = 0; i < numCases; i++) | ~~^~~~~~~~~~ LogisticRegression.cpp:184:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 184 | for (arma::uword i = 0; i < numCases; i++) | ~~^~~~~~~~~~ LogisticRegression.cpp:197:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 197 | for (arma::uword j = 1; j <= numRegressors; j++) | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:204:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 204 | for (arma::uword j = 1; j <= numRegressors; j++) | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:214:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 214 | for (arma::uword i = 0; i < nc; i++) | ~~^~~~ LogisticRegression.cpp:216:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 216 | for (arma::uword j = 1; j <= numRegressors; j++) | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:243:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 243 | for (arma::uword j = 1; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:287:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 287 | for (arma::uword j = 0; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:288:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 288 | for (arma::uword k = j; k <= numRegressors + 1; k++) { | ~~^~~~~~~~~~~~~~~~~~~~ LogisticRegression.cpp:293:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 293 | for (arma::uword i = 0; i < nc; i++) { | ~~^~~~ LogisticRegression.cpp:297:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 297 | for (arma::uword j = 1; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:322:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 322 | for (arma::uword j = 0; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:326:43: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 326 | for (arma::uword k = j; k <= numRegressors; k++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:344:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 344 | for (arma::uword j = 1; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:375:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 375 | for (arma::uword j = 0; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:411:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 411 | for (arma::uword j = 1; j <= numRegressors; j++) { | ~~^~~~~~~~~~~~~~~~ LogisticRegression.cpp:237:12: warning: unused variable 'lam' [-Wunused-variable] 237 | double lam = 0.888; | ^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LogisticRegressionResult.cpp -o LogisticRegressionResult.o In file included from inc/LogisticRegressionResult.hpp:4, from LogisticRegressionResult.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ LogisticRegressionResult.cpp: In constructor 'LogisticRegressionResult::LogisticRegressionResult(std::string, std::vector >, arma::vec, arma::vec, int, int, int, arma::vec, arma::vec, arma::vec, double, double, std::vector >, double, double)': LogisticRegressionResult.cpp:11:31: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 11 | if (regressorNames.size() != numRegressors) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:16:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 16 | if (coefs.size() != numRegressors + 1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:21:24: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 21 | if (stdErrs.size() != numRegressors + 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:26:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 26 | if (probs.size() != numRegressors + 1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:31:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 31 | if (xMeans.size() != numRegressors + 1) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:36:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 36 | if (xStdDevs.size() != numRegressors + 1) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp: In function 'std::ostream& operator<<(std::ostream&, LogisticRegressionResult&)': LogisticRegressionResult.cpp:69:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 69 | for (int i = 0; i < rnames.size(); i++) | ~~^~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 98 | for (int j = 0; j < regCoefs.size(); j++) | ~~^~~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:107:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 107 | for (int l = 0; l < stdErrs.size(); l++) | ~~^~~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:116:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 116 | for (int m = 0; m < pVals.size(); m++) | ~~^~~~~~~~~~~~~~ LogisticRegressionResult.cpp:125:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 125 | for (int n = 0; n < xMeans.size(); n++) | ~~^~~~~~~~~~~~~~~ LogisticRegressionResult.cpp:134:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 134 | for (int o = 0; o < xStdDevs.size(); o++) | ~~^~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MGM.cpp -o MGM.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/MGM.hpp:4, from MGM.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ MGM.cpp: In constructor 'MGM::MGM(arma::mat&, arma::mat&, std::vector&, std::vector >&, std::vector&)': MGM.cpp:16:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 16 | bool mixed = true; | ^~~~~ MGM.cpp: In constructor 'MGM::MGM(arma::mat&&, arma::mat&&, std::vector, std::vector >, std::vector)': MGM.cpp:63:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 63 | bool mixed = true; | ^~~~~ MGM.cpp: In constructor 'MGM::MGM(DataSet)': MGM.cpp:112:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 112 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ MGM.cpp:123:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 123 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ MGM.cpp:106:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 106 | bool mixed = true; | ^~~~~ MGM.cpp: In constructor 'MGM::MGM(DataSet, std::vector)': MGM.cpp:179:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 179 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ MGM.cpp:190:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 190 | for (arma::uword i = 0; i < ds.getNumRows(); i++) { | ~~^~~~~~~~~~~~~~~~~ MGM.cpp:173:10: warning: variable 'mixed' set but not used [-Wunused-but-set-variable] 173 | bool mixed = true; | ^~~~~ MGM.cpp: In member function 'void MGM::initParameters()': MGM.cpp:241:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 241 | for(int i = 0; i < l.size(); i++){ | ~~^~~~~~~~~~ MGM.cpp: In member function 'void MGM::calcWeights()': MGM.cpp:271:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 271 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp:276:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 276 | for (arma::uword j = 0; j < q; j++) { | ~~^~~ MGM.cpp: In member function 'double MGM::calcLambdaMax()': MGM.cpp:317:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 317 | for(int i = 0; i < l.size(); i++){ | ~~^~~~~~~~~~ MGM.cpp:361:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 361 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp: In member function 'virtual double MGM::smooth(arma::vec&, arma::vec&)': MGM.cpp:430:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 430 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ MGM.cpp:451:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 451 | for (arma::uword i = 0; i < n; i++) { | ~~^~~ MGM.cpp:509:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 509 | for (arma::uword k = 0; k < n; k++) { | ~~^~~ MGM.cpp:539:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 539 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ MGM.cpp: In member function 'virtual double MGM::smoothValue(arma::vec&)': MGM.cpp:1121:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1121 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ MGM.cpp:1143:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1143 | for (arma::uword i = 0; i < n; i++) { | ~~^~~ MGM.cpp:1174:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1174 | for (arma::uword k = 0; k < n; k++) { | ~~^~~ MGM.cpp: In member function 'virtual double MGM::nonSmooth(double, arma::vec&, arma::vec&)': MGM.cpp:1225:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp:1228:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1228 | for (arma::uword j = 0; j < p; j++) { | ~~^~~ MGM.cpp:1259:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1259 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp:1196:12: warning: unused variable 'nonSmooth' [-Wunused-variable] 1196 | double nonSmooth = 0; | ^~~~~~~~~ MGM.cpp: In member function 'virtual double MGM::nonSmoothValue(arma::vec&)': MGM.cpp:1465:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1465 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp: In member function 'virtual arma::vec MGM::smoothGradient(arma::vec&)': MGM.cpp:1519:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1519 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ MGM.cpp:1547:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1547 | for (arma::uword i = 0; i < n; i++) { | ~~^~~ MGM.cpp:1548:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1548 | for (arma::uword j = 0; j < p; j++) { | ~~^~~ MGM.cpp:1593:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1593 | for (arma::uword k = 0; k < n; k++) { | ~~^~~ MGM.cpp:1632:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1632 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ MGM.cpp: In member function 'virtual arma::vec MGM::proximalOperator(double, arma::vec&)': MGM.cpp:1752:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1752 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp: In member function 'arma::mat MGM::adjMatFromMGM()': MGM.cpp:1847:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1847 | for (arma::uword i = 0; i < p-pDummy; i++) { | ~~^~~~~~~~~~ MGM.cpp:1848:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1848 | for (arma::uword j = 0; j < q-qDummy; j++) { | ~~^~~~~~~~~~ MGM.cpp:1855:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1855 | for (arma::uword i = 0; i < q-qDummy; i++) { | ~~^~~~~~~~~~ MGM.cpp:1856:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1856 | for (arma::uword j = i+1; j < q-qDummy; j++) { | ~~^~~~~~~~~~ MGM.cpp:1865:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1865 | for(arma::uword i = 0; i < p+q-pDummy-qDummy; i++){ | ~~^~~~~~~~~~~~~~~~~~~ MGM.cpp: In member function 'EdgeListGraph MGM::graphFromMGM()': MGM.cpp:1887:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1887 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp:1888:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1888 | for (arma::uword j = i+1; j < p; j++) { | ~~^~~ MGM.cpp:1900:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1900 | for (arma::uword i = 0; i < p; i++) { | ~~^~~ MGM.cpp:1901:35: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1901 | for (arma::uword j = 0; j < q; j++) { | ~~^~~ MGM.cpp:1913:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1913 | for (arma::uword i = 0; i < q; i++) { | ~~^~~ MGM.cpp:1914:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1914 | for (arma::uword j = i+1; j < q; j++) { | ~~^~~ MGM.cpp: In member function 'std::vector MGM::searchPath(std::vector, arma::vec&, arma::vec&)': MGM.cpp:1994:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1994 | for (int i = 0; i < lambdas.size(); i++) { | ~~^~~~~~~~~~~~~~~~ MGM.cpp: In member function 'std::vector MGM::searchPathCV(std::vector, arma::uvec&, arma::mat&, arma::uvec&)': MGM.cpp:2054:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 2054 | for (int i = 0; i < lambdas.size(); i++) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MGMParams.cpp -o MGMParams.o In file included from inc/MGMParams.hpp:4, from MGMParams.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ MGMParams.cpp: In constructor 'MGMParams::MGMParams(arma::vec&, int, int)': MGMParams.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 52 | for (int i = 1; i < lenSums.size(); i++) { | ~~^~~~~~~~~~~~~~~~ MGMParams.cpp: In member function 'arma::vec MGMParams::toMatrix1D()': MGMParams.cpp:76:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 76 | for (int i = 1; i < lenSums.size(); i++) { | ~~^~~~~~~~~~~~~~~~ MGMParams.cpp: In member function 'Rcpp::List MGMParams::toList() const': MGMParams.cpp:94:9: warning: unused variable 'ltot' [-Wunused-variable] 94 | int ltot = phi.n_cols; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MeekRules.cpp -o MeekRules.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/MeekRules.hpp:4, from MeekRules.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Node.cpp -o Node.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from Node.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PcStable.cpp -o PcStable.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/IndependenceTest.hpp:4, from inc/PcStable.hpp:4, from PcStable.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PossibleDsepFciConsumerProducer.cpp -o PossibleDsepFciConsumerProducer.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/PossibleDsepFciConsumerProducer.hpp:18, from PossibleDsepFciConsumerProducer.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ PossibleDsepFciConsumerProducer.cpp: In member function 'void PossibleDsepFciConsumerProducer::concurrentSearch(EdgeListGraph&, std::unordered_map >&)': PossibleDsepFciConsumerProducer.cpp:125:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 125 | for (int i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ PossibleDsepFciConsumerProducer.cpp: In member function 'void PossibleDsepFciConsumerProducer::PossibleDsepProducer(std::set)': PossibleDsepFciConsumerProducer.cpp:181:37: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 181 | if (possibleDsep.size() > maxPossDsepSize) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ PossibleDsepFciConsumerProducer.cpp:203:31: warning: comparison of integer expressions of different signedness: 'int' and 'const long long unsigned int' [-Wsign-compare] 203 | for (int d = 0; d <= std::min((std::size_t) depth_, possParents.size()); d++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PossibleDsepFciConsumerProducer.cpp:237:37: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 237 | if (possibleDsep.size() > maxPossDsepSize) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ PossibleDsepFciConsumerProducer.cpp:259:31: warning: comparison of integer expressions of different signedness: 'int' and 'const long long unsigned int' [-Wsign-compare] 259 | for (int d = 0; d <= std::min((std::size_t) depth_, possParents.size()); d++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from inc/PossibleDsepFciConsumerProducer.hpp:22: inc/BlockingQueue.hpp: In instantiation of 'void BlockingQueue::push(const T&) [with T = PossibleDsepFciConsumerProducer::PossibleDsepTask]': PossibleDsepFciConsumerProducer.cpp:219:21: required from here 219 | taskQueue.push(newTask); | ~~~~~~~~~~~~~~^~~~~~~~~ inc/BlockingQueue.hpp:85:54: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 85 | c_tail.wait(lock, [=] { return (tail - head) != capacity; }); | ~~~~~~~~~~~~~~^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ProximalGradient.cpp -o ProximalGradient.o In file included from inc/ConvexProximal.hpp:15, from inc/ProximalGradient.hpp:7, from ProximalGradient.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ ProximalGradient.cpp: In member function 'arma::vec ProximalGradient::learnBackTrack(ConvexProximal*, arma::vec&, double, int, long int)': ProximalGradient.cpp:98:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < X.n_elem; i++) { | ~~^~~~~~~~~~ ProximalGradient.cpp:44:14: warning: variable 'lastStart' set but not used [-Wunused-but-set-variable] 44 | auto lastStart = std::chrono::high_resolution_clock::now(); | ^~~~~~~~~ ProximalGradient.cpp: In member function 'arma::vec ProximalGradient::learnBackTrack(ConvexProximal*, arma::vec&, double, int)': ProximalGradient.cpp:278:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 278 | for (int i = 0; i < X.n_elem; i++) { | ~~^~~~~~~~~~ ProximalGradient.cpp:185:9: warning: unused variable 'increaseObjCount' [-Wunused-variable] 185 | int increaseObjCount = 0; | ^~~~~~~~~~~~~~~~ ProximalGradient.cpp:190:12: warning: variable 'Lcur' set but not used [-Wunused-but-set-variable] 190 | double Lcur = L; | ^~~~ ProximalGradient.cpp:198:12: warning: variable 'Gxold' set but not used [-Wunused-but-set-variable] 198 | double Gxold; | ^~~~~ ProximalGradient.cpp:199:12: warning: variable 'Fxold' set but not used [-Wunused-but-set-variable] 199 | double Fxold; | ^~~~~ ProximalGradient.cpp:369:32: warning: 'LocalL' may be used uninitialized [-Wmaybe-uninitialized] 369 | L = (L > 1/epsilon || L/LocalL > 100) ? std::max(LocalL/alpha, std::sqrt(L)) : L; | ~^~~~~~~ ProximalGradient.cpp:192:12: note: 'LocalL' was declared here 192 | double LocalL; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from RcppExports.cpp:4: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RegressionBicScore.cpp -o RegressionBicScore.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/Score.hpp:4, from inc/RegressionBicScore.hpp:4, from RegressionBicScore.cpp:3: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ RegressionBicScore.cpp: In member function 'arma::mat RegressionBicScore::getSubsetData(DataSet&, std::vector&)': RegressionBicScore.cpp:170:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 170 | for (int i = 0; i < varSubset.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ RegressionBicScore.cpp:175:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 175 | for (int i = 0; i < origMat.n_rows; i++) { | ~~^~~~~~~~~~~~~~~~ RegressionBicScore.cpp: In member function 'virtual Node RegressionBicScore::getVariable(std::string)': RegressionBicScore.cpp:381:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 381 | for (int i = 0; i < getVariables().size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ RegressionBicScore.cpp:383:21: warning: possibly dangling reference to a temporary [-Wdangling-reference] 383 | const Node& var = getVariables().at(i); | ^~~ RegressionBicScore.cpp:383:44: note: the temporary was destroyed at the end of the full expression 'RegressionBicScore::getVariables().std::vector::at(((std::vector::size_type)i))' 383 | const Node& var = getVariables().at(i); | ~~~~~~~~~~~~~~~~~^~~ RegressionBicScore.cpp: In function 'void RegrBicScoreTest2(const Rcpp::DataFrame&)': RegressionBicScore.cpp:426:12: warning: variable 'score' set but not used [-Wunused-but-set-variable] 426 | double score; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RegressionResult.cpp -o RegressionResult.o In file included from inc/RegressionResult.hpp:4, from RegressionResult.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ RegressionResult.cpp: In function 'std::ostream& operator<<(std::ostream&, RegressionResult&)': RegressionResult.cpp:62:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 62 | for (int i = 0; i < rr.regressorNames.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ RegressionResult.cpp:71:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 71 | for (int i = 0; i < rr.b.size(); i++) { | ~~^~~~~~~~~~~~~ RegressionResult.cpp:77:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 77 | for (int i = 0; i < rr.t.size(); i++) { | ~~^~~~~~~~~~~~~ RegressionResult.cpp:83:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 83 | for (int i = 0; i < rr.p.size(); i++) { | ~~^~~~~~~~~~~~~ RegressionResult.cpp:89:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 89 | for (int i = 0; i < rr.se.size(); i++) { | ~~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c STARS.cpp -o STARS.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/MGM.hpp:4, from inc/StabilityUtils.hpp:6, from inc/STARS.hpp:4, from STARS.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ STARS.cpp: In member function 'EdgeListGraph STARS::runStarsPar(arma::mat&, arma::umat&)': STARS.cpp:53:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 53 | for (int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ STARS.cpp:81:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 81 | for (int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ STARS.cpp:85:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 85 | for (int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ STARS.cpp:96:35: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 96 | for (currIndex = 0; currIndex < alphas.n_elem; currIndex++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~ STARS.cpp:104:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c STEPS.cpp -o STEPS.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/MGM.hpp:4, from inc/StabilityUtils.hpp:6, from inc/STEPS.hpp:4, from STEPS.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ STEPS.cpp: In member function 'EdgeListGraph STEPS::runStepsPar()': STEPS.cpp:129:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 129 | if (currIndex == lambda.size() - 1) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ STEPS.cpp: In member function 'std::vector STEPS::runStepsPath(arma::mat&, arma::umat&)': STEPS.cpp:242:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 242 | for (int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ STEPS.cpp:247:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 247 | for (int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ STEPS.cpp:254:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 254 | for (currIndex = 0; currIndex < lambda.size(); currIndex++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SearchCV.cpp -o SearchCV.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/DataSet.hpp:15, from inc/SearchCV.hpp:5, from SearchCV.cpp:3: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ inc/SearchCV.hpp: In member function 'bool CvResult::operator<(const CvResult&) const': inc/SearchCV.hpp:148:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 148 | for (int i = 0; i < lambda.size(); i++) { | ~~^~~~~~~~~~~~~~~ inc/SearchCV.hpp:166:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 166 | for (int i = 0; i < ruleOrder.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ SearchCV.cpp: In constructor 'SearchCV::SearchCV(DataSet&, std::string, const arma::uvec&, int)': SearchCV.cpp:85:9: warning: unused variable 'N' [-Wunused-variable] 85 | int N = data.getNumRows(); | ^ SearchCV.cpp: In member function 'double SearchCV::multiTestLL(arma::mat&, const Node&, std::vector&, arma::uvec)': SearchCV.cpp:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 195 | for (int i = 0; i < indep.size(); i++) { | ~~^~~~~~~~~~~~~~ SearchCV.cpp: In member function 'double SearchCV::scoreTestLLTask(const Node&, std::vector&, int)': SearchCV.cpp:254:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 254 | for (int i = 0; i < indep.size(); i++) { | ~~^~~~~~~~~~~~~~ SearchCV.cpp:279:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 279 | for (int i = 0; i < indep.size(); i++) { | ~~^~~~~~~~~~~~~~ SearchCV.cpp:308:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 308 | for (int i = 0; i < variablesPerNode.at(dep).size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:344:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 344 | for (int i = 0; i < indep.size(); i++) { | ~~^~~~~~~~~~~~~~ SearchCV.cpp: In member function 'std::vector SearchCV::scoreGraphTestLL(EdgeListGraph, int)': SearchCV.cpp:400:24: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 400 | for (uint i = 0; i < N; i++) { | ~~^~~ SearchCV.cpp:404:24: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 404 | for (uint i = 0; i < N; i++) { | ~~^~~ SearchCV.cpp: In member function 'std::vector SearchCV::causalCV()': SearchCV.cpp:438:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 438 | for (int orIdx = 0; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:441:33: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 441 | for (int aIdx = 0; aIdx < alphas.n_elem; aIdx++) { | ~~~~~^~~~~~~~~~~~~~~ SearchCV.cpp:476:33: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 476 | for (int aIdx = 0; aIdx < alphas.n_elem; aIdx++) { | ~~~~~^~~~~~~~~~~~~~~ SearchCV.cpp:511:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 511 | for (int orIdx = 1; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:541:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 541 | for (int orIdx = 1; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:559:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 559 | for (int orIdx = 0; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:560:33: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 560 | for (int aIdx = 0; aIdx < alphas.n_elem; aIdx++) { | ~~~~~^~~~~~~~~~~~~~~ SearchCV.cpp:570:10: warning: variable 'minIdx' set but not used [-Wunused-but-set-variable] 570 | uint minIdx = 0, idx = 0; | ^~~~~~ SearchCV.cpp: In member function 'std::vector SearchCV::causalMGMGridCV()': SearchCV.cpp:700:29: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 700 | for (int lIdx = 0; lIdx < lambdas.n_elem; lIdx++) { | ~~~~~^~~~~~~~~~~~~~~~ SearchCV.cpp:703:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 703 | for (int orIdx = 0; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:706:37: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 706 | for (int aIdx = 0; aIdx < alphas.n_elem; aIdx++) { | ~~~~~^~~~~~~~~~~~~~~ SearchCV.cpp:736:33: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 736 | for (int lIdx = 0; lIdx < lambdas.n_elem; lIdx++) { | ~~~~~^~~~~~~~~~~~~~~~ SearchCV.cpp:753:37: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 753 | for (int aIdx = 0; aIdx < alphas.n_elem; aIdx++) { | ~~~~~^~~~~~~~~~~~~~~ SearchCV.cpp:775:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 775 | for (int orIdx = 1; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:812:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 812 | for (int orIdx = 1; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:830:29: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 830 | for (int lIdx = 0; lIdx < lambdas.n_elem; lIdx++) { | ~~~~~^~~~~~~~~~~~~~~~ SearchCV.cpp:836:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 836 | for (int orIdx = 0; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:837:37: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 837 | for (int aIdx = 0; aIdx < alphas.n_elem; aIdx++) { | ~~~~~^~~~~~~~~~~~~~~ SearchCV.cpp:849:10: warning: variable 'minIdx' set but not used [-Wunused-but-set-variable] 849 | uint minIdx = 0, idx = 0; | ^~~~~~ SearchCV.cpp: In member function 'std::vector SearchCV::causalMGMRandCV()': SearchCV.cpp:983:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 983 | for (int orIdx = 0; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:1059:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1059 | for (int orIdx = 1; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:1086:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1086 | for (int orIdx = 1; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:1109:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1109 | for (int orIdx = 0; orIdx < orientRules.size(); orIdx++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ SearchCV.cpp:1121:10: warning: variable 'minIdx' set but not used [-Wunused-but-set-variable] 1121 | uint minIdx = 0, idx = 0; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SearchGraphUtils.cpp -o SearchGraphUtils.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/EdgeListGraph.hpp:4, from inc/SearchGraphUtils.hpp:4, from SearchGraphUtils.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SearchWrappers.cpp -o SearchWrappers.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/MGM.hpp:4, from SearchWrappers.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ In file included from SearchWrappers.cpp:10: inc/SearchCV.hpp: In member function 'bool CvResult::operator<(const CvResult&) const': inc/SearchCV.hpp:148:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 148 | for (int i = 0; i < lambda.size(); i++) { | ~~^~~~~~~~~~~~~~~ inc/SearchCV.hpp:166:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 166 | for (int i = 0; i < ruleOrder.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ SearchWrappers.cpp: In function 'Rcpp::List mgm(const Rcpp::DataFrame&, Rcpp::NumericVector, bool, bool)': SearchWrappers.cpp:64:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 64 | } else if (l.size() != lamLength) { | ~~~~~~~~~^~~~~~~~~~~~ SearchWrappers.cpp: In function 'Rcpp::List coxmgm(const Rcpp::DataFrame&, Rcpp::NumericVector, bool, bool)': SearchWrappers.cpp:129:25: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 129 | } else if (l.size() != lamLength) { | ~~~~~~~~~^~~~~~~~~~~~ SearchWrappers.cpp: In function 'Rcpp::List mgmPath(const Rcpp::DataFrame&, Rcpp::Nullable >, int, bool, bool)': SearchWrappers.cpp:236:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 236 | for (int i = 0; i < l.size(); i++) { | ~~^~~~~~~~~~ SearchWrappers.cpp:204:9: warning: unused variable 'p' [-Wunused-variable] 204 | int p = ds.getNumColumns(); | ^ SearchWrappers.cpp: In function 'Rcpp::List coxmgmPath(const Rcpp::DataFrame&, Rcpp::Nullable >, int, bool, bool)': SearchWrappers.cpp:344:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 344 | for (int i = 0; i < l.size(); i++) { | ~~^~~~~~~~~~ SearchWrappers.cpp: In function 'Rcpp::List mgmCV(const Rcpp::DataFrame&, Rcpp::Nullable >, int, int, Rcpp::Nullable >, bool, bool)': SearchWrappers.cpp:458:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 458 | if (_foldid.n_elem != n) { | ~~~~~~~~~~~~~~~^~~~ SearchWrappers.cpp: In function 'Rcpp::List coxmgmCV(const Rcpp::DataFrame&, Rcpp::Nullable >, int, int, Rcpp::Nullable >, bool, bool)': SearchWrappers.cpp:577:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 577 | if (_foldid.n_elem != n) { | ~~~~~~~~~~~~~~~^~~~ SearchWrappers.cpp: In function 'Rcpp::List grasp(const Rcpp::DataFrame&, int, int, double, bool, int, bool, bool)': SearchWrappers.cpp:2210:5: warning: deleting object of abstract class type 'Score' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2210 | delete scorer; | ^~~~~~~~~~~~~ SearchWrappers.cpp: In function 'Rcpp::List boss(const Rcpp::DataFrame&, int, double, int, bool, bool)': SearchWrappers.cpp:2290:5: warning: deleting object of abstract class type 'Score' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2290 | delete scorer; | ^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SepsetMap.cpp -o SepsetMap.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/SepsetMap.hpp:7, from SepsetMap.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SepsetProducer.cpp -o SepsetProducer.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/Triple.hpp:4, from inc/SepsetProducer.hpp:6, from SepsetProducer.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ SepsetProducer.cpp: In member function 'std::vector SepsetProducer::getSepset(const Node&, const Node&)': SepsetProducer.cpp:294:14: warning: unused variable 'indep' [-Wunused-variable] 294 | bool indep = test->isIndependent(a, b, possibleDsep, &score); | ^~~~~ SepsetProducer.cpp:310:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 310 | if (d <= ppa.size()) { | ~~^~~~~~~~~~~~~ SepsetProducer.cpp:325:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 325 | if (d <= ppb.size()) { | ~~^~~~~~~~~~~~~ In file included from inc/SepsetProducer.hpp:11: inc/BlockingQueue.hpp: In instantiation of 'void BlockingQueue::push(const T&) [with T = SepsetProducer::IndependenceTask]': SepsetProducer.cpp:47:17: required from here 47 | taskQueue.push(IndependenceTask(a, b, c, possibleDsep)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inc/BlockingQueue.hpp:85:54: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 85 | c_tail.wait(lock, [=] { return (tail - head) != capacity; }); | ~~~~~~~~~~~~~~^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c StabilityUtils.cpp -o StabilityUtils.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/MGM.hpp:4, from inc/StabilityUtils.hpp:6, from StabilityUtils.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static arma::umat StabilityUtils::subSampleNoReplacement(DataSet&, int, int)': StabilityUtils.cpp:14:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 14 | for (arma::uword i = 0; i < sampSize; i++) { | ~~^~~~~~~~~~ StabilityUtils.cpp:22:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 22 | for(arma::uword i = 0; i < numSub; i++) { | ~~^~~~~~~~ StabilityUtils.cpp: In static member function 'static arma::umat StabilityUtils::subSampleLOO(DataSet&)': StabilityUtils.cpp:53:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 53 | for(int i = 0; i < sampMat.n_rows; i++) { | ~~^~~~~~~~~~~~~~~~ StabilityUtils.cpp:55:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 55 | for(int j = 0; j < sampMat.n_rows; j++) { | ~~^~~~~~~~~~~~~~~~ StabilityUtils.cpp:64:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 64 | for (int s = 0; s < sampMat.n_rows; s++) { | ~~^~~~~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static arma::umat StabilityUtils::subSampleWithReplacement(DataSet&, int, int)': StabilityUtils.cpp:128:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 128 | for(arma::uword i = 0; i < numSub; i++) { | ~~^~~~~~~~ StabilityUtils.cpp: In static member function 'static int StabilityUtils::checkForVariance(DataSet&, DataSet&)': StabilityUtils.cpp:310:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 310 | for (arma::uword i = 0; i < d.getNumColumns(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ StabilityUtils.cpp:329:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 329 | for (arma::uword j = 0; j < full.getNumRows(); j++) { | ~~^~~~~~~~~~~~~~~~~~~ StabilityUtils.cpp:333:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 333 | for (arma::uword j = 0; j < d.getNumRows(); j++) { | ~~^~~~~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static int StabilityUtils::checkForVariance(DataSet&)': StabilityUtils.cpp:368:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 368 | for (arma::uword i = 0; i < d.getNumColumns(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ StabilityUtils.cpp:387:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 387 | for (arma::uword j = 0; j < d.getNumRows(); j++) { | ~~^~~~~~~~~~~~~~~~ StabilityUtils.cpp:391:39: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 391 | for (arma::uword j = 0; j < d.getNumRows(); j++) { | ~~^~~~~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static arma::mat StabilityUtils::stabilitySearchPar(DataSet&, std::vector&, int)': StabilityUtils.cpp:491:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 491 | for(int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ StabilityUtils.cpp:493:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 493 | for(int j = 0; j < samps.n_rows; j++) { | ~~^~~~~~~~~~~~~~ StabilityUtils.cpp:502:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 502 | for (int s = 0; s < samps.n_rows; s++) { | ~~^~~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static arma::mat StabilityUtils::stabilitySearchPar(DataSet&, std::vector&, int, arma::umat&)': StabilityUtils.cpp:526:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 526 | for (int i = 0; i < subs.n_rows; i++) { | ~~^~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static double StabilityUtils::stabilitySearchStars(DataSet&, std::string&, double, EdgeListGraph*, int, bool)': StabilityUtils.cpp:656:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 656 | for(int i = 0; i < samps.n_rows; i++) { | ~~^~~~~~~~~~~~~~ StabilityUtils.cpp:658:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 658 | for(int j = 0; j < samps.n_rows; j++) { | ~~^~~~~~~~~~~~~~ StabilityUtils.cpp:667:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 667 | for (int s = 0; s < samps.n_rows; s++) { | ~~^~~~~~~~~~~~~~ StabilityUtils.cpp: In static member function 'static double StabilityUtils::stabilitySearchStars(DataSet&, std::string&, double, EdgeListGraph*, int, bool, arma::umat&)': StabilityUtils.cpp:688:12: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 688 | double alpha; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppThread/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I"inc" -fopenmp -pthread -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Triple.cpp -o Triple.o In file included from inc/Variable.hpp:17, from inc/Node.hpp:18, from inc/Triple.hpp:4, from Triple.cpp:1: inc/armaLapack.hpp:17:9: warning: "NDEBUG" redefined 17 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from inc/armaLapack.hpp:15: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ In file included from inc/Node.hpp:20: inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(const std::string&, const std::vector >&)': inc/DiscreteVariable.hpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < categories.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ inc/DiscreteVariable.hpp: In constructor 'DiscreteVariable::DiscreteVariable(Variable*)': inc/DiscreteVariable.hpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < cats.size(); i++) | ~~^~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o rCausalMGM.dll tmp.def Bootstrap.o Boss.o CensoredVariable.o ChoiceGenerator.o ContinuousVariable.o CoxIRLSRegression.o CoxMGM.o CoxMGMParams.o CoxRegression.o CoxRegressionResult.o DataSet.o DegenerateGaussianScore.o DepthChoiceGenerator.o DiscreteVariable.o Edge.o EdgeListGraph.o FasStableProducerConsumer.o Fci.o FciOrient.o GraphUtils.o Grasp.o GrowShrink.o GrowShrinkTree.o IndTestMulti.o IndTestMultiCox.o Knowledge.o LinearRegression.o LogisticRegression.o LogisticRegressionResult.o MGM.o MGMParams.o MeekRules.o Node.o PcStable.o PossibleDsepFciConsumerProducer.o ProximalGradient.o RcppExports.o RegressionBicScore.o RegressionResult.o STARS.o STEPS.o SearchCV.o SearchGraphUtils.o SearchWrappers.o SepsetMap.o SepsetProducer.o StabilityUtils.o Triple.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-rCausalMGM/00new/rCausalMGM/libs/x64 ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 * DONE (rCausalMGM)