* installing *source* package 'BNPmix' ...
** this is package 'BNPmix' version '1.1.0'
** package 'BNPmix' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.2.0'
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp23vTRi/R.INSTALLaa6473f67891/BNPmix/src'
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c BNPmix_init.c -o BNPmix_init.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CommonUtilities.cpp -o CommonUtilities.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from CommonUtilities.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
CommonUtilities.cpp: In function 'arma::vec freq_vec(arma::vec)':
CommonUtilities.cpp:38:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
38 | for(arma::uword j = 0; j < n_item; j++){
| ~~^~~~~~~~
CommonUtilities.cpp: In function 'arma::vec eval_density_mv_P(arma::mat, arma::mat, arma::mat, arma::vec)':
CommonUtilities.cpp:218:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
218 | for(arma::uword l = 0; l < d; l++){
| ~~^~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DdpFunctions.cpp -o DdpFunctions.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from DdpFunctions.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
DdpFunctions.cpp: In function 'void accelerate_DDP(arma::vec, arma::vec, arma::vec, arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, arma::vec, double, double, double, double, int)':
DdpFunctions.cpp:60:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
60 | for(arma::uword g = 0; g <= ngr; g++){
| ~~^~~~~~
DdpFunctions.cpp: In function 'void para_clean_DDP(arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, arma::vec&, arma::vec, arma::vec, int)':
DdpFunctions.cpp:124:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
124 | for(arma::uword g = 0; g <= ngr; g++){
| ~~^~~~~~
DdpFunctions.cpp:130:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
130 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
DdpFunctions.cpp: In function 'void simu_trunc_DDP(arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, arma::field<arma::Col<double> >&, double, double, double, double, double, double, int, int)':
DdpFunctions.cpp:203:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
203 | for(arma::uword g = 0; g <= ngr; g++){
| ~~^~~~~~
DdpFunctions.cpp:216:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
216 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
DdpFunctions.cpp: In function 'void clust_update_DDP(arma::vec, arma::vec, arma::vec&, arma::field<arma::Col<double> >, arma::field<arma::Col<double> >, arma::field<arma::Col<double> >, arma::vec&, arma::mat&, arma::vec, int, int)':
DdpFunctions.cpp:290:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
290 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
DdpFunctions.cpp: In function 'void update_w_DDP(arma::vec&, double, double, double, arma::vec, arma::vec, arma::vec, arma::mat, int)':
DdpFunctions.cpp:411:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
411 | for(arma::uword g = 0; g < ngr; g++){
| ~~^~~~~
DdpFunctions.cpp:418:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
418 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Distributions.cpp -o Distributions.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from Distributions.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c IcsFunctions.cpp -o IcsFunctions.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from IcsFunctions.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
IcsFunctions.cpp: In function 'void para_clean_ICS_L(arma::vec&, arma::vec&)':
IcsFunctions.cpp:136:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
136 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:160:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
160 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_L_export(arma::vec&, arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:178:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
178 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:208:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
208 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_L(arma::vec&, arma::vec&, double, double, double, int, double)':
IcsFunctions.cpp:249:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
249 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_L(arma::vec, arma::vec, double, arma::vec, arma::vec&)':
IcsFunctions.cpp:305:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
305 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:310:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
310 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void hyper_accelerate_ICS(arma::vec, arma::vec, double&, double&, double, double&, double, double, double, double, double, double)':
IcsFunctions.cpp:404:65: warning: unused variable 'mu_m' [-Wunused-variable]
404 | double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
| ^~~~
IcsFunctions.cpp: In function 'void para_clean_ICS(arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:440:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
440 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:468:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
468 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_export(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:489:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
489 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:525:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
525 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY(arma::vec&, arma::vec&, arma::vec&, double, double, double, double, double, int, double)':
IcsFunctions.cpp:577:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
577 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS(arma::vec, arma::vec, arma::vec, arma::vec, arma::vec&)':
IcsFunctions.cpp:632:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
632 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:637:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
637 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_L(arma::mat&, arma::vec&)':
IcsFunctions.cpp:760:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
760 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:780:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
780 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_L_export(arma::mat&, arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:798:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
798 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:823:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
823 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_L(arma::mat&, arma::vec&, double, arma::vec, arma::mat, int, double)':
IcsFunctions.cpp:889:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
889 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp:913:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
913 | for(arma::uword j = 0; j < k_max; j++){
| ~~^~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_L(arma::mat, arma::mat, arma::mat, arma::vec, arma::vec&)':
IcsFunctions.cpp:949:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
949 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:956:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
956 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
IcsFunctions.cpp:940:10: warning: unused variable 'd' [-Wunused-variable]
940 | double d = (double) data.n_cols;
| ^
IcsFunctions.cpp: In function 'void para_clean_ICS_mv(arma::mat&, arma::cube&, arma::vec&)':
IcsFunctions.cpp:1101:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1101 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:1122:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1122 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_export(arma::mat&, arma::cube&, arma::mat&, arma::cube&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1143:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1143 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:1170:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1170 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv(arma::mat&, arma::cube&, arma::vec&, double, arma::vec, double, arma::mat, double, int, double)':
IcsFunctions.cpp:1218:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1218 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp:1245:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1245 | for(arma::uword j = 0; j < k_max; j++){
| ~~^~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv(arma::mat, arma::mat, arma::cube, arma::vec, arma::vec&, double&)':
IcsFunctions.cpp:1287:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1287 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:1295:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1295 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
IcsFunctions.cpp:1277:10: warning: unused variable 'd' [-Wunused-variable]
1277 | double d = (double) data.n_cols;
| ^
IcsFunctions.cpp: In function 'void hyper_accelerate_ICS_mv_P(arma::mat, arma::mat, arma::vec&, arma::vec&, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec)':
IcsFunctions.cpp:1395:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
1395 | double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
| ^~~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_P(arma::mat&, arma::mat&, arma::vec&)':
IcsFunctions.cpp:1434:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1434 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:1455:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1455 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_P_export(arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1476:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1476 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:1503:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1503 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_P(arma::mat&, arma::mat&, arma::vec&, double, arma::vec, arma::vec, arma::vec, arma::vec, int, double)':
IcsFunctions.cpp:1551:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1551 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp:1576:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1576 | for(arma::uword j = 0; j < k_max; j++){
| ~~^~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_P(arma::mat, arma::mat, arma::mat, arma::vec, arma::vec&)':
IcsFunctions.cpp:1615:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1615 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:1624:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1624 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK(arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1770:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1770 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:1793:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1793 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK_export(arma::mat&, arma::vec&, arma::mat&, arma::vec&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:1814:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1814 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:1843:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1843 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_MRK(arma::mat&, arma::vec&, arma::vec&, double, arma::vec, arma::mat, double, double, int, double)':
IcsFunctions.cpp:1890:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1890 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_MRK(arma::vec, arma::mat, arma::mat, arma::vec, arma::vec, arma::vec&)':
IcsFunctions.cpp:1947:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1947 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:1953:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1953 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void accelerate_ICS_mv_MRK_L(arma::vec, arma::mat, arma::mat&, double&, arma::vec, arma::vec, arma::mat, double, double)':
IcsFunctions.cpp:2009:9: warning: unused variable 'nj' [-Wunused-variable]
2009 | int nj = sum(clust == j);
| ^~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK_L(arma::mat&, arma::vec&)':
IcsFunctions.cpp:2094:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2094 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:2114:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2114 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:2091:10: warning: unused variable 'tsigma2' [-Wunused-variable]
2091 | double tsigma2;
| ^~~~~~~
IcsFunctions.cpp: In function 'void para_clean_ICS_mv_MRK_L_export(arma::mat&, arma::mat&, arma::vec&, arma::vec&)':
IcsFunctions.cpp:2132:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2132 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp:2156:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2156 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
IcsFunctions.cpp: In function 'void simu_trunc_PY_mv_MRK_L(arma::mat&, arma::vec&, double, arma::vec, arma::mat, int, double)':
IcsFunctions.cpp:2224:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2224 | for(arma::uword j = 1; j < napprox; j++){
| ~~^~~~~~~~~
IcsFunctions.cpp: In function 'void clust_update_ICS_mv_MRK_L(arma::vec, arma::mat, arma::mat, double, arma::vec, arma::vec&)':
IcsFunctions.cpp:2283:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2283 | for(arma::uword j = 0; j < k; j++){
| ~~^~~
IcsFunctions.cpp:2293:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2293 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MAR.cpp -o MAR.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from MAR.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
MAR.cpp: In function 'Rcpp::List MAR_L(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool)':
MAR.cpp:103:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
103 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:144:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
144 | if(iter >= nburn){
| ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool)':
MAR.cpp:272:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
272 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:317:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
317 | if(iter >= nburn){
| ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_L(arma::mat, arma::mat, int, int, arma::vec, arma::mat, arma::mat, double, arma::vec, double, double, arma::mat, double, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:464:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
464 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:503:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
503 | if(iter >= nburn){
| ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv(arma::mat, arma::mat, int, int, arma::vec, double, arma::mat, double, arma::vec, arma::mat, double, double, double, arma::mat, double, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:671:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
671 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:726:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
726 | if(iter >= nburn){
| ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_P(arma::mat, arma::mat, int, int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:889:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
889 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:934:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
934 | if(iter >= nburn){
| ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_MKR(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, int, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:1099:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1099 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:1151:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1151 | if(iter >= nburn){
| ~~~~~^~~~~~~~
MAR.cpp: In function 'Rcpp::List MAR_mv_MKR_L(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
MAR.cpp:1315:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1315 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
MAR.cpp:1361:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1361 | if(iter >= nburn){
| ~~~~~^~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MarFunctions.cpp -o MarFunctions.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from D:/RCompile/CRANpkg/lib/4.5/RcppDist/include/RcppDist.h:26,
from MarFunctions.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
MarFunctions.cpp: In function 'void para_clean_MAR_L(arma::vec&, arma::vec&)':
MarFunctions.cpp:135:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
135 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:159:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
159 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_L(arma::vec, arma::vec&, double&, arma::vec&, double, double, double, double, double, double)':
MarFunctions.cpp:207:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
207 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:228:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
228 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp: In function 'void hyper_accelerate_MAR(arma::vec, arma::vec, double&, double&, double, double&, double, double, double, double, double, double)':
MarFunctions.cpp:340:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
340 | double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
| ^~~~
MarFunctions.cpp: In function 'void para_clean_MAR(arma::vec&, arma::vec&, arma::vec&)':
MarFunctions.cpp:378:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
378 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:406:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
406 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY(arma::vec, arma::vec&, arma::vec&, arma::vec&, double, double, double, double, double, double)':
MarFunctions.cpp:455:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
455 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:477:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
477 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_L(arma::mat&, arma::vec&)':
MarFunctions.cpp:622:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
622 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:642:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
642 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_mv_L(arma::mat, arma::mat&, arma::mat, arma::vec&, double, arma::vec, arma::mat, arma::mat, double, double)':
MarFunctions.cpp:693:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
693 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:713:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
713 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv(arma::mat&, arma::cube&, arma::vec&)':
MarFunctions.cpp:878:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
878 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:899:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
899 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_mv(arma::mat, arma::mat&, arma::cube&, arma::vec&, double, arma::vec, double, arma::mat, double, double, double&)':
MarFunctions.cpp:955:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
955 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:972:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
972 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp:951:7: warning: unused variable 'old_max' [-Wunused-variable]
951 | int old_max = max(clust);
| ^~~~~~~
MarFunctions.cpp: In function 'void hyper_accelerate_MAR_mv_P(arma::mat, arma::mat, arma::vec&, arma::vec&, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec)':
MarFunctions.cpp:1101:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
1101 | double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
| ^~~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_P(arma::mat&, arma::mat&, arma::vec&)':
MarFunctions.cpp:1142:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1142 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:1163:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1163 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_PY_mv_P(arma::mat, arma::mat&, arma::mat&, arma::vec&, double, arma::vec, arma::vec, arma::vec, arma::vec, double)':
MarFunctions.cpp:1212:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1212 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:1232:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1232 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp:1235:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1235 | for(arma::uword l = 0; l < d; l++){
| ~~^~~
MarFunctions.cpp:1240:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1240 | for(arma::uword l = 0; l < d; l++){
| ~~^~~
MarFunctions.cpp:1252:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1252 | for(arma::uword l = 0; l < d; l++){
| ~~^~~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_MRK(arma::mat&, arma::vec&, arma::vec&)':
MarFunctions.cpp:1406:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1406 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:1429:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1429 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp: In function 'void clust_update_MAR_mv_MRK(arma::vec, arma::mat, arma::mat&, arma::vec&, arma::vec&, double, arma::vec, arma::mat, double, double, double, int)':
MarFunctions.cpp:1481:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1481 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:1501:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1501 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp:1508:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1508 | for(arma::uword l = 0; l < napprox; l++){
| ~~^~~~~~~~~
MarFunctions.cpp: In function 'void accelerate_MAR_mv_MRK_L(arma::vec, arma::mat, arma::mat&, double&, arma::vec, arma::vec, arma::mat, double, double)':
MarFunctions.cpp:1585:9: warning: unused variable 'nj' [-Wunused-variable]
1585 | int nj = sum(clust == j);
| ^~
MarFunctions.cpp: In function 'void para_clean_MAR_mv_MRK_L(arma::mat&, arma::vec&)':
MarFunctions.cpp:1671:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1671 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:1691:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1691 | for(arma::uword i = 0; i < k; i++){
| ~~^~~
MarFunctions.cpp:1668:10: warning: unused variable 'tsigma2' [-Wunused-variable]
1668 | double tsigma2;
| ^~~~~~~
MarFunctions.cpp: In function 'void clust_update_MAR_mv_MRK_L(arma::vec, arma::mat, arma::mat&, double, arma::vec&, double, arma::vec, arma::mat, double, int)':
MarFunctions.cpp:1739:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1739 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
MarFunctions.cpp:1758:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1758 | for(arma::uword j = 0; j < k; j++) {
| ~~^~~
MarFunctions.cpp:1765:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1765 | for(arma::uword l = 0; l < napprox; l++){
| ~~^~~~~~~~~
MarFunctions.cpp:1732:10: warning: unused variable 'an' [-Wunused-variable]
1732 | double an, bn, prob_temp;
| ^~
MarFunctions.cpp:1732:14: warning: unused variable 'bn' [-Wunused-variable]
1732 | double an, bn, prob_temp;
| ^~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.5/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-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SliFunctions.cpp -o SliFunctions.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from SliFunctions.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
SliFunctions.cpp: In function 'void update_u_SLI(arma::vec, arma::vec, arma::vec&)':
SliFunctions.cpp:39:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
39 | for(arma::uword el = 0; el < nel; el++){
| ~~~^~~~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_L(arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, int, double)':
SliFunctions.cpp:203:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
203 | while(sum((1 - u) < w_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:221:15: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
221 | if(w.n_elem > k_old){
| ~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_L(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, int, double, double, double)':
SliFunctions.cpp:266:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
266 | while(sum((1 - u) <= xi_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:286:16: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
286 | if(xi.n_elem > k_old){
| ~~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_L(arma::vec, arma::vec, double, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:321:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
321 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:324:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
324 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_L(arma::vec, arma::vec, double, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:375:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
375 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:378:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
378 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, double, double, int, double, int&)':
SliFunctions.cpp:582:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
582 | while(sum((1 - u) < w_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:617:15: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
617 | if(w.n_elem > k_old){
| ~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY(arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, double, double, double, double, double, int, double, double, double, int&)':
SliFunctions.cpp:673:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
673 | while(sum((1 - u) <= xi_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:724:16: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
724 | if(xi.n_elem > k_old){
| ~~~~~~~~~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI(arma::vec, arma::vec, arma::vec, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:763:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
763 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:766:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
766 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI(arma::vec, arma::vec, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:817:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
817 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:820:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
820 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_L(arma::mat&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double)':
SliFunctions.cpp:1017:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1017 | while(sum((1 - u) < w_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1037:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1037 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_L(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double, double, double)':
SliFunctions.cpp:1083:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1083 | while(sum((1 - u) <= xi_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1106:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1106 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_L(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:1143:28: 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++){
| ~~^~~
SliFunctions.cpp:1146:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1146 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_L(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:1201:28: 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++){
| ~~^~~
SliFunctions.cpp:1204:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1204 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv(arma::mat&, arma::cube&, arma::vec&, arma::vec&, arma::vec, arma::vec, double, arma::mat, double, double, int, double)':
SliFunctions.cpp:1418:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1418 | while(sum((1 - u) < w_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1440:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1440 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv(arma::mat&, arma::cube&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, double, arma::mat, double, double, int, double, double, double)':
SliFunctions.cpp:1491:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1491 | while(sum((1 - u) <= xi_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1516:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1516 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv(arma::mat, arma::mat, arma::cube, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:1551:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1551 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:1554:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1554 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv(arma::mat, arma::mat, arma::cube, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:1607:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1607 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:1610:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1610 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_P(arma::mat&, arma::mat&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, double)':
SliFunctions.cpp:1832:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1832 | while(sum((1 - u) < w_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1854:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1854 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_P(arma::mat&, arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, double, double, double)':
SliFunctions.cpp:1908:32: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1908 | while(sum((1 - u) <= xi_sum) < n){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:1933:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1933 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_P(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:1973:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1973 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:1976:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1976 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp:1990:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1990 | for(arma::uword l = 0; l < d; l++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_P(arma::mat, arma::mat, arma::mat, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:2034:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2034 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:2037:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2037 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp:2051:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2051 | for(arma::uword l = 0; l < d; l++){
| ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_MRK(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, double, double, int, double)':
SliFunctions.cpp:2268:31: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2268 | while((sum((1 - u) < w_sum) < n)){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2291:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2291 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_MRK(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, double, double, int, double, double, double)':
SliFunctions.cpp:2342:33: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2342 | while((sum((1 - u) <= xi_sum) < n)){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2368:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2368 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_MRK(arma::vec, arma::mat, arma::mat, arma::vec, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:2406:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2406 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:2409:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2409 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_MRK(arma::vec, arma::mat, arma::mat, arma::vec, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:2466:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2466 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:2469:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2469 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void grow_param_SLI_PY_mv_MRK_L(arma::mat&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double)':
SliFunctions.cpp:2680:31: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2680 | while((sum((1 - u) < w_sum) < n)){
| ~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2701:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2701 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void grow_param_indep_SLI_PY_mv_MRK_L(arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::vec, arma::vec, arma::mat, double, int, double, double, double)':
SliFunctions.cpp:2748:33: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2748 | while((sum((1 - u) <= xi_sum) < n)){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
SliFunctions.cpp:2772:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2772 | for(arma::uword j = k_old; j < k_new; j++){
| ~~^~~~~~~
SliFunctions.cpp: In function 'void update_cluster_SLI_mv_MRK_L(arma::vec, arma::mat, arma::mat, double, arma::vec&, arma::vec, arma::vec)':
SliFunctions.cpp:2809:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2809 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:2812:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2812 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
SliFunctions.cpp: In function 'void update_cluster_indep_SLI_mv_MRK_L(arma::vec, arma::mat, arma::mat, double, arma::vec&, arma::vec, arma::vec, arma::vec)':
SliFunctions.cpp:2869:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2869 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
SliFunctions.cpp:2872:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2872 | for(arma::uword r = 0; r < k; r++){
| ~~^~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cDDP.cpp -o cDDP.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from cDDP.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
cDDP.cpp: In function 'Rcpp::List cDDP(arma::vec, arma::vec, int, arma::vec, int, int, double, double, double, double, double, double, int, double, int, bool, bool, bool)':
cDDP.cpp:110:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
110 | for(arma::uword j = 0; j <= ngr; j++){
| ~~^~~~~~
cDDP.cpp:145:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
145 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cDDP.cpp:152:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
152 | for(arma::uword g = 0; g <= ngr; g++){
| ~~^~~~~~
cDDP.cpp:176:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
176 | for(arma::uword g = 0; g <= ngr; g++){
| ~~^~~~~~
cDDP.cpp:196:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
196 | for(arma::uword g = 1; g <= ngr; g++){
| ~~^~~~~~
cDDP.cpp:213:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
213 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cDDP.cpp:220:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
220 | for(arma::uword g = 0; g < ngr; g++){
| ~~^~~~~
cDDP.cpp:138:10: warning: unused variable 'temp2' [-Wunused-variable]
138 | double temp2;
| ^~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cICS.cpp -o cICS.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from cICS.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
cICS.cpp: In function 'Rcpp::List cICS_L(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, int, int, bool, bool, double, bool, bool)':
cICS.cpp:121:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
121 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:177:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
177 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:195:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
195 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:207:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
207 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, int, int, bool, bool, double, bool, bool)':
cICS.cpp:351:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
351 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:417:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
417 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:437:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
437 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:450:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
450 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_L(arma::mat, arma::mat, int, int, arma::vec, arma::mat, arma::mat, double, arma::vec, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:587:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
587 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:642:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
642 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:664:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
664 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:676:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
676 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv(arma::mat, arma::mat, int, int, arma::vec, double, arma::mat, double, arma::vec, arma::mat, double, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:829:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
829 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:897:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
897 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:923:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
923 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:936:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
936 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_P(arma::mat, arma::mat, int, int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:1087:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1087 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:1153:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1153 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:1178:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1178 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:1191:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1191 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_MKR(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:1349:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1349 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:1420:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1420 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:1446:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1446 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:1459:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1459 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp: In function 'Rcpp::List cICS_mv_MKR_L(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, int, int, bool, bool, double, bool, bool, bool)':
cICS.cpp:1611:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1611 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cICS.cpp:1674:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1674 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:1698:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1698 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cICS.cpp:1710:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1710 | if(iter >= nburn){
| ~~~~~^~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cSLI.cpp -o cSLI.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from cSLI.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
cSLI.cpp: In function 'Rcpp::List cSLI_L(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool, bool)':
cSLI.cpp:112:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
112 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:197:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
197 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp:213:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
213 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI(arma::vec, arma::vec, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, int, bool, bool, double, bool, bool, bool)':
cSLI.cpp:343:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
343 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:437:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
437 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp:458:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
458 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_L(arma::mat, arma::mat, int, int, arma::vec, arma::mat, arma::mat, double, arma::vec, double, double, arma::mat, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:605:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
605 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:687:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
687 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp:714:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
714 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv(arma::mat, arma::mat, int, int, arma::vec, double, arma::mat, double, arma::vec, arma::mat, double, double, double, arma::mat, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:871:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
871 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:977:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
977 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp:1006:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1006 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_P(arma::mat, arma::mat, int, int, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, arma::vec, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:1162:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1162 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:1255:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1255 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp:1282:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1282 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_MKR(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:1437:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1437 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:1536:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1536 | if(iter >= nburn){
| ~~~~~^~~~~~~~
cSLI.cpp: In function 'Rcpp::List cSLI_mv_MKR_L(arma::vec, arma::mat, arma::vec, arma::mat, int, int, arma::vec, arma::mat, double, double, arma::vec, double, double, arma::mat, double, double, double, int, bool, bool, double, bool, bool, bool, bool)':
cSLI.cpp:1714:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1714 | for(arma::uword iter = 0; iter < niter; iter++){
| ~~~~~^~~~~~~
cSLI.cpp:1802:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1802 | if(iter >= nburn){
| ~~~~~^~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppDist/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c est_partition.cpp -o est_partition.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from est_partition.cpp:19:
D:/RCompile/CRANpkg/lib/4.5/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")
| ^
est_partition.cpp: In function 'arma::vec BNPmix_VI_LB(arma::mat, arma::mat)':
est_partition.cpp:114:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
114 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
est_partition.cpp: In function 'arma::vec BNPmix_BIN(arma::mat, arma::mat)':
est_partition.cpp:151:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
151 | for(arma::uword i = 0; i < n; i++){
| ~~^~~
est_partition.cpp:152:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
152 | for(arma::uword k = 0; k < n; k++){
| ~~^~~
g++ -std=gnu++17 -shared -s -static-libgcc -o BNPmix.dll tmp.def BNPmix_init.o CommonUtilities.o DdpFunctions.o Distributions.o IcsFunctions.o MAR.o MarFunctions.o RcppExports.o SliFunctions.o cDDP.o cICS.o cSLI.o est_partition.o -fopenmp -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/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-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp23vTRi/R.INSTALLaa6473f67891/BNPmix/src'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp23vTRi/R.INSTALLaa6473f67891/BNPmix/src'
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp23vTRi/R.INSTALLaa6473f67891/BNPmix/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-BNPmix/00new/BNPmix/libs/x64
** R
** data
** 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 'BNPmix' as BNPmix_1.1.0.zip
* DONE (BNPmix)