* installing *source* package 'L0Learn' ... ** package 'L0Learn' successfully unpacked and MD5 sums checked ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_11_12_11_12_08_24475/RtmpANwLkG/R.INSTALL266dc695a3045/L0Learn/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BetaVector.cpp -o BetaVector.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012LogisticSwaps.cpp -o CDL012LogisticSwaps.o CDL012LogisticSwaps.cpp: In instantiation of 'FitResult<T> CDL012LogisticSwaps<T>::_Fit() [with T = arma::Mat<double>]': CDL012LogisticSwaps.cpp:172:16: required from here CDL012LogisticSwaps.cpp:72:40: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] 72 | for(std::size_t ll = 0; ll < std::min(50, (int) this->p); ++ll) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CDL012LogisticSwaps.cpp: In instantiation of 'FitResult<T> CDL012LogisticSwaps<T>::_Fit() [with T = arma::SpMat<double>]': CDL012LogisticSwaps.cpp:173:16: required from here CDL012LogisticSwaps.cpp:72:40: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012SquaredHingeSwaps.cpp -o CDL012SquaredHingeSwaps.o In file included from include/CDL012SquaredHingeSwaps.h:6, from CDL012SquaredHingeSwaps.cpp:1: include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ CDL012SquaredHingeSwaps.cpp: In member function 'FitResult<T> CDL012SquaredHingeSwaps<T>::_Fit() [with T = arma::Mat<double>]': CDL012SquaredHingeSwaps.cpp:28:17: warning: 'maxindex' may be used uninitialized [-Wmaybe-uninitialized] 28 | std::size_t maxindex; | ^~~~~~~~ CDL012SquaredHingeSwaps.cpp:105:35: warning: 'Bmaxindex' may be used uninitialized [-Wmaybe-uninitialized] 105 | this->B[maxindex] = Bmaxindex; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CDL012SquaredHingeSwaps.cpp:29:12: note: 'Bmaxindex' was declared here 29 | double Bmaxindex; | ^~~~~~~~~ CDL012SquaredHingeSwaps.cpp: In member function 'FitResult<T> CDL012SquaredHingeSwaps<T>::_Fit() [with T = arma::SpMat<double>]': CDL012SquaredHingeSwaps.cpp:28:17: warning: 'maxindex' may be used uninitialized [-Wmaybe-uninitialized] 28 | std::size_t maxindex; | ^~~~~~~~ CDL012SquaredHingeSwaps.cpp:105:35: warning: 'Bmaxindex' may be used uninitialized [-Wmaybe-uninitialized] 105 | this->B[maxindex] = Bmaxindex; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CDL012SquaredHingeSwaps.cpp:29:12: note: 'Bmaxindex' was declared here 29 | double Bmaxindex; | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012Swaps.cpp -o CDL012Swaps.o CDL012Swaps.cpp: In instantiation of 'FitResult<T> CDL012Swaps<T>::_Fit() [with T = arma::Mat<double>]': CDL012Swaps.cpp:97:16: required from here CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable] 17 | double objective = result.Objective; | ^~~~~~~~~ CDL012Swaps.cpp: In instantiation of 'FitResult<T> CDL012Swaps<T>::_Fit() [with T = arma::SpMat<double>]': CDL012Swaps.cpp:98:16: required from here CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable] g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grid.cpp -o Grid.o In file included from include/MakeCD.h:10, from include/Grid1D.h:10, from include/Grid.h:9, from Grid.cpp:1: include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grid1D.cpp -o Grid1D.o In file included from include/MakeCD.h:10, from include/Grid1D.h:10, from Grid1D.cpp:1: include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ Grid1D.cpp: In instantiation of 'std::vector<std::unique_ptr<FitResult<T> > > Grid1D<T>::Fit() [with T = arma::Mat<double>]': Grid1D.cpp:236:16: required from here Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable] 194 | bool samesupp = false; | ^~~~~~~~ Grid1D.cpp: In instantiation of 'std::vector<std::unique_ptr<FitResult<T> > > Grid1D<T>::Fit() [with T = arma::SpMat<double>]': Grid1D.cpp:237:16: required from here Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable] g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grid2D.cpp -o Grid2D.o In file included from include/MakeCD.h:10, from include/Grid1D.h:10, from include/Grid2D.h:8, from Grid2D.cpp:1: include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ In file included from include/CD.h:9, from include/MakeCD.h:5: include/utils.h: In instantiation of 'arma::sp_mat matrix_rows_get(const arma::sp_mat&, T1) [with T1 = arma::Col<unsigned int>; arma::sp_mat = arma::SpMat<double>]': Grid2D.cpp:69:41: required from 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::SpMat<double>]' Grid2D.cpp:126:16: required from here include/utils.h:44:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 44 | for (auto i = 0; i < vector_of_row_indices.n_elem; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\vector:66, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:61, from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo.h:29, from include/Grid2D.h:4: In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator<double>]', inlined from 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::Mat<double>]' at Grid2D.cpp:110:25: d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\stl_vector.h:1129:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 1129 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Grid2D.cpp: In member function 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::Mat<double>]': Grid2D.cpp:82:17: note: 'index' was declared here 82 | std::size_t index; | ^~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator<double>]', inlined from 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::SpMat<double>]' at Grid2D.cpp:110:25: d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\stl_vector.h:1129:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 1129 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Grid2D.cpp: In member function 'std::vector<std::vector<std::unique_ptr<FitResult<T> > > > Grid2D<T>::Fit() [with T = arma::SpMat<double>]': Grid2D.cpp:82:17: note: 'index' was declared here 82 | std::size_t index; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Interface.cpp -o Interface.o In file included from include/MakeCD.h:10, from include/Grid1D.h:10, from include/Grid.h:9, from include/Interface.h:7, from Interface.cpp:1: include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::Mat<double>]': include/CDL012SquaredHinge.h:205:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_Fit() [with T = arma::SpMat<double>]': include/CDL012SquaredHinge.h:206:16: required from here include/CDL012SquaredHinge.h:123:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare] 123 | for (auto t = 0; t < this->MaxIters; ++t) { | ~~^~~~~~~~~~~~~~~~ In file included from include/CD.h:9, from include/MakeCD.h:5: include/utils.h: In instantiation of 'arma::sp_mat matrix_rows_get(const arma::sp_mat&, T1) [with T1 = arma::Col<unsigned int>; arma::sp_mat = arma::SpMat<double>]': Interface.cpp:225:34: required from 'Rcpp::List _L0LearnCV(const T&, const arma::vec&, std::string, std::string, std::string, unsigned int, unsigned int, unsigned int, double, double, bool, unsigned int, double, double, bool, unsigned int, unsigned int, double, unsigned int, bool, std::vector<std::vector<double> >, unsigned int, double, unsigned int, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::SpMat<double>; Rcpp::List = Rcpp::Vector<19>; arma::vec = arma::Col<double>; std::string = std::__cxx11::basic_string<char>]' Interface.cpp:337:22: required from here include/utils.h:44:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 44 | for (auto i = 0; i < vector_of_row_indices.n_elem; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Normalize.cpp -o Normalize.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Test_Interface.cpp -o Test_Interface.o In file included from include/Test_Interface.h:5, from Test_Interface.cpp:1: include/utils.h: In instantiation of 'arma::sp_mat matrix_rows_get(const arma::sp_mat&, T1) [with T1 = arma::Col<unsigned int>; arma::sp_mat = arma::SpMat<double>]': Test_Interface.cpp:22:27: required from here include/utils.h:44:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 44 | for (auto i = 0; i < vector_of_row_indices.n_elem; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c profile.cpp -o profile.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utils.cpp -o utils.o utils.cpp: In function 'arma::rowvec matrix_normalize(arma::sp_mat&)': utils.cpp:36:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 36 | for (auto col = 0; col < p; col++){ | ~~~~^~~ utils.cpp:43:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 43 | for (auto col = 0; col < p; col++){ | ~~~~^~~ utils.cpp: In function 'arma::rowvec matrix_normalize(arma::mat&)': utils.cpp:61:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | for (auto col = 0; col < p; col++) { | ~~~~^~~ g++ -std=gnu++17 -shared -s -static-libgcc -o L0Learn.dll tmp.def BetaVector.o CDL012LogisticSwaps.o CDL012SquaredHingeSwaps.o CDL012Swaps.o Grid.o Grid1D.o Grid2D.o Interface.o Normalize.o RcppExports.o Test_Interface.o profile.o utils.o -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_11_12_11_12_08_24475/RtmpANwLkG/R.INSTALL266dc695a3045/L0Learn/src' make[1]: Entering directory '/d/temp/2024_11_12_11_12_08_24475/RtmpANwLkG/R.INSTALL266dc695a3045/L0Learn/src' make[1]: Leaving directory '/d/temp/2024_11_12_11_12_08_24475/RtmpANwLkG/R.INSTALL266dc695a3045/L0Learn/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-L0Learn/00new/L0Learn/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'L0Learn' as L0Learn_2.1.0.zip * DONE (L0Learn)