* installing *source* package 'L0Learn' ...
** this is package 'L0Learn' version '2.1.0'
** 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) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/RtmpE9rXrK/R.INSTALLc43076d19ee/L0Learn/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BetaVector.cpp -o BetaVector.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 include/BetaVector.h:4,
from BetaVector.cpp:1:
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/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012LogisticSwaps.cpp -o CDL012LogisticSwaps.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 include/CDL012LogisticSwaps.h:3,
from CDL012LogisticSwaps.cpp:1:
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")
| ^
CDL012LogisticSwaps.cpp: In instantiation of 'FitResult<T> CDL012LogisticSwaps<T>::_Fit() [with T = arma::Mat<double>]':
CDL012LogisticSwaps.cpp:172:16: required from here
172 | template class CDL012LogisticSwaps<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
173 | template class CDL012LogisticSwaps<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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) {
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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 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 include/CDL012SquaredHingeSwaps.h:3,
from CDL012SquaredHingeSwaps.cpp:1:
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 include/CDL012SquaredHingeSwaps.h:6:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16: required from here
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012Swaps.cpp -o CDL012Swaps.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 include/CDL012Swaps.h:4,
from CDL012Swaps.cpp:1:
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")
| ^
CDL012Swaps.cpp: In instantiation of 'FitResult<T> CDL012Swaps<T>::_Fit() [with T = arma::Mat<double>]':
CDL012Swaps.cpp:97:16: required from here
97 | template class CDL012Swaps<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~
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
98 | template class CDL012Swaps<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable]
17 | double objective = result.Objective;
| ^~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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 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 include/Grid.h:6,
from Grid.cpp:1:
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 include/MakeCD.h:10,
from include/Grid1D.h:10,
from include/Grid.h:9:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16: required from here
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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 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 include/Grid1D.h:6,
from Grid1D.cpp:1:
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 include/MakeCD.h:10,
from include/Grid1D.h:10:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16: required from here
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
236 | template class Grid1D<arma::mat>;
| ^~~~~~~~~~~~~~~~~
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
237 | template class Grid1D<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~
Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable]
194 | bool samesupp = false;
| ^~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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 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 include/Grid2D.h:4,
from Grid2D.cpp:1:
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 include/MakeCD.h:10,
from include/Grid1D.h:10,
from include/Grid2D.h:8:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16: required from here
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]'
69 | T indices_rows = matrix_rows_get(*X, indices);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Grid2D.cpp:126:16: required from here
126 | template class Grid2D<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~
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:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/vector:66,
from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/RcppCommon.h:64,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
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:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_vector.h:1131:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized]
1131 | 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:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_vector.h:1131:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized]
1131 | 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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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 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 include/Interface.h:6,
from Interface.cpp:1:
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 include/MakeCD.h:10,
from include/Grid1D.h:10,
from include/Grid.h:9,
from include/Interface.h:7:
include/CDL012SquaredHinge.h: In instantiation of 'FitResult<T> CDL012SquaredHinge<T>::_FitWithBounds() [with T = arma::Mat<double>]':
include/CDL012SquaredHinge.h:205:16: required from here
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
205 | template class CDL012SquaredHinge<arma::mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
206 | template class CDL012SquaredHinge<arma::sp_mat>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]'
225 | T Xtraining = matrix_rows_get(X, trainingindicesarma);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Interface.cpp:337:22: required from here
337 | return _L0LearnCV(X, y, Loss, Penalty,
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
338 | Algorithm, NnzStopNum, G_ncols, G_nrows,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | Lambda2Max, Lambda2Min, PartialSort,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
340 | MaxIters, rtol,atol, ActiveSet,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
341 | ActiveSetNum, MaxNumSwaps,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | ScaleDownFactor, ScreenSize, LambdaU, Lambdas,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | nfolds, seed, ExcludeFirstK, Intercept, withBounds, Lows, Highs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Normalize.cpp -o Normalize.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 include/Normalize.h:5,
from Normalize.cpp:1:
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/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -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/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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 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 include/utils.h:4,
from include/Test_Interface.h:5,
from Test_Interface.cpp:1:
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")
| ^
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
22 | return matrix_rows_get(mat, rows);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utils.cpp -o utils.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 include/utils.h:4,
from utils.cpp:1:
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")
| ^
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/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
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/RtmpE9rXrK/R.INSTALLc43076d19ee/L0Learn/src'
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/RtmpE9rXrK/R.INSTALLc43076d19ee/L0Learn/src'
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/RtmpE9rXrK/R.INSTALLc43076d19ee/L0Learn/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/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)