* installing *source* package ‘fclust’ ... ** package ‘fclust’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-14 (GCC) 14.2.0’ using C++ compiler: ‘g++-14 (GCC) 14.2.0’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fclust/src' g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c F.cpp -o F.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c FKM_rcpp.cpp -o FKM_rcpp.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o F.cpp: In function 'arma::cube F_gkb(arma::mat, arma::mat, arma::mat, arma::mat, double, double, unsigned int, unsigned int, int, double, arma::vec)': F.cpp:36:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 36 | for(int i=0; i<k; i++) | ~^~ F.cpp:39:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 39 | for(int j=0; j<n; j++) | ~^~ F.cpp: In function 'arma::cube F_gkb_ent(arma::mat, arma::mat, arma::mat, arma::mat, double, unsigned int, unsigned int, int, double, arma::vec)': F.cpp:96:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | for(int i=0; i<k; i++) | ~^~ F.cpp:99:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 99 | for(int j=0; j<n; j++) | ~^~ F.cpp: In function 'arma::cube F_gk(arma::mat, arma::mat, arma::mat, double, unsigned int, unsigned int, int, arma::vec)': F.cpp:146:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 146 | for(int i = 0; i<k; i++) | ~^~ F.cpp:148:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 148 | for(int j=0; j<n; j++) | ~^~ F.cpp: In function 'arma::cube F_gk_ent(arma::mat, arma::mat, arma::mat, unsigned int, unsigned int, int, arma::vec)': F.cpp:172:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 172 | for(int i = 0; i<k; i++) | ~^~ F.cpp:174:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for(int j=0; j<n; j++) | ~^~ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c centroids.cpp -o centroids.o FKM_rcpp.cpp: In function 'Rcpp::List mainFKM(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:57:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 57 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:68:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 68 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_U(arma::mat, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:145:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 145 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:228:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 228 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:240:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 240 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent_U(arma::mat, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:323:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 323 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:401:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 401 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:419:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 419 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:429:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 429 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:446:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 446 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:558:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 558 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:568:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 568 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:582:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 582 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:679:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 679 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:690:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 690 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf_U(arma::mat, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:772:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 772 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:857:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 857 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:868:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 868 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:878:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 878 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:892:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 892 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:990:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 990 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:1000:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1000 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:1014:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1014 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1112:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1112 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:1125:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1125 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:1135:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1135 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1276:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1276 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:1286:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1286 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb(arma::mat, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1417:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1417 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:1428:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1428 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_U(arma::mat, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1520:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1520 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent(arma::mat, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1611:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1611 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:1622:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1622 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent_U(arma::mat, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1715:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1715 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_noise(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1807:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1807 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:1824:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1824 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:1836:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1836 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:1850:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1850 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_noise_U(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:1973:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1973 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:1985:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1985 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:1999:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1999 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent_noise(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2113:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2113 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:2123:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2123 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:2135:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2135 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:2149:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2149 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent_noise_U(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2256:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2256 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:2268:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2268 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:2282:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2282 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk(arma::mat, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2385:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2385 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:2396:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2396 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:2475:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2475 | if(countNoConv == rs) | ~~~~~~~~~~~~^~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_U(arma::mat, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2526:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2526 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent(arma::mat, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2644:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2644 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:2653:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2653 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:2730:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2730 | if(countNoConv == rs) | ~~~~~~~~~~~~^~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent_U(arma::mat, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2779:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2779 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_noise(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:2899:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2899 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:2908:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2908 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:2933:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2933 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:2947:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2947 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:3008:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3008 | if(countNoConv == rs) | ~~~~~~~~~~~~^~~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_noise_U(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:3066:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3066 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:3088:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3088 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:3101:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3101 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent_noise(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:3219:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3219 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:3228:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3228 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:3254:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3254 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:3268:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3268 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent_noise_U(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:3377:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3377 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:3399:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3399 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:3413:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3413 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:3375:7: warning: variable 'warn' set but not used [-Wunused-but-set-variable] 3375 | int warn = 0; | ^~~~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:3519:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3519 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:3527:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3527 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:3533:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3533 | for(int c = 0; c < k; c++) | ~~^~~ FKM_rcpp.cpp:3537:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3537 | for(int i=0; i<n; i++) | ~^~ FKM_rcpp.cpp:3545:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3545 | for(int j=0; j<n; j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med_U(arma::mat, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:3664:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3664 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:3671:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3671 | for(int c = 0; c < k; c++) | ~~^~~ FKM_rcpp.cpp:3675:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3675 | for(int i=0; i<n; i++) | ~^~ FKM_rcpp.cpp:3683:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3683 | for(int j=0; j<n; j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:3810:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3810 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:3819:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3819 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:3825:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3825 | for(int c = 0; c < k; c++) | ~~^~~ FKM_rcpp.cpp:3829:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3829 | for(int i=0; i<n; i++) | ~^~ FKM_rcpp.cpp:3833:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3833 | for(int j=0; j<n; j++) | ~^~ FKM_rcpp.cpp:3854:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3854 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:3874:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3874 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)': FKM_rcpp.cpp:4004:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4004 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:4010:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4010 | for(int c = 0; c < k; c++) | ~~^~~ FKM_rcpp.cpp:4014:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4014 | for(int i=0; i<n; i++) | ~^~ FKM_rcpp.cpp:4018:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4018 | for(int j=0; j<n; j++) | ~^~ FKM_rcpp.cpp:4041:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4041 | for(int i=0; i<n;i++) | ~^~ FKM_rcpp.cpp:4061:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4061 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainnefrc(arma::mat, double, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:4172:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4172 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:4179:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4179 | for(int i=0; i<n;i++){ | ~^~ FKM_rcpp.cpp:4180:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4180 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:4190:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4190 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:4197:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4197 | for(int i=0; i<n;i++){ | ~^~ FKM_rcpp.cpp:4198:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4198 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:4211:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4211 | for(int j=0; j < k; j++) | ~~^~~ FKM_rcpp.cpp:4236:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4236 | for(int j = 0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainnefrc_U(arma::mat, arma::mat, double, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:4327:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4327 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:4334:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4334 | for(int i=0; i<n;i++){ | ~^~ FKM_rcpp.cpp:4335:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4335 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:4348:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4348 | for(int j=0; j < k; j++) | ~~^~~ FKM_rcpp.cpp:4374:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4374 | for(int j = 0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainrnefrc(arma::mat, double, double, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:4467:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4467 | for(int r=0; r<rs; r++) | ~^~~ FKM_rcpp.cpp:4474:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4474 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:4481:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4481 | for(int i=0; i<n;i++){ | ~^~ FKM_rcpp.cpp:4482:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4482 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:4504:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4504 | for(int j=0; j < k; j++) | ~~^~~ FKM_rcpp.cpp:4534:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4534 | for(int j = 0; j<k;j++) | ~^~ FKM_rcpp.cpp: In function 'Rcpp::List mainrnefrc_U(arma::mat, arma::mat, double, double, unsigned int, unsigned int, double, unsigned int, std::string, double)': FKM_rcpp.cpp:4630:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4630 | while(prova && (iter < maxit)) | ~~~~~^~~~~~~ FKM_rcpp.cpp:4637:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4637 | for(int i=0; i<n;i++){ | ~^~ FKM_rcpp.cpp:4638:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4638 | for(int j=0; j<k;j++) | ~^~ FKM_rcpp.cpp:4660:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4660 | for(int j=0; j < k; j++) | ~~^~~ FKM_rcpp.cpp:4690:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4690 | for(int j = 0; j<k;j++) | ~^~ centroids.cpp: In function 'arma::mat centroids_FKM(arma::mat, arma::mat, unsigned int, unsigned int, unsigned int, double)': centroids.cpp:22:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 22 | for(int i=0; i<k; i++) | ~^~ centroids.cpp: In function 'arma::mat centroids_FKM_ent(arma::mat, arma::mat, unsigned int, unsigned int, unsigned int)': centroids.cpp:43:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 43 | for(int i=0; i<k; i++) | ~^~ centroids.cpp: In function 'arma::mat centroids_FKM_pf(arma::mat, arma::mat, unsigned int, unsigned int, unsigned int, double)': centroids.cpp:69:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 69 | for(int i=0; i<k; i++) | ~^~ centroids.cpp: In function 'Rcpp::List medoids_FKM(arma::mat, arma::mat, unsigned int, unsigned int, unsigned int, double)': centroids.cpp:98:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 98 | for(int c = 0; c < k; c++) | ~~^~~ centroids.cpp:102:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 102 | for(int i=0; i<n; i++) | ~^~ centroids.cpp:106:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 106 | for(int j=0; j<n; j++) | ~^~ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c distance.cpp -o distance.o distance.cpp: In function 'arma::mat euclidean_distance(arma::mat, arma::mat, unsigned int, unsigned int, bool)': distance.cpp:22:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 22 | for(int i=0; i<n; i++) | ~^~ distance.cpp:24:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 24 | for(int j=0; j<k; j++) | ~^~ distance.cpp: In function 'arma::mat euclidean_distance_gkb(arma::mat, arma::mat, arma::cube, unsigned int, unsigned int, bool)': distance.cpp:48:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 48 | for(int i=0; i<n; i++) | ~^~ distance.cpp:50:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 50 | for(int j=0; j<k; j++) | ~^~ distance.cpp: In function 'arma::mat euclidean_distance_gk(arma::mat, arma::mat, arma::cube, arma::mat, unsigned int, unsigned int, unsigned int, bool)': distance.cpp:73:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 73 | for(int i=0; i<n; i++) | ~^~ distance.cpp:75:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 75 | for(int j=0; j<k; j++) | ~^~ distance.cpp: In function 'arma::mat euclidean_distance_medoid(arma::mat, arma::mat, unsigned int, unsigned int, bool)': distance.cpp:111:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 111 | for(int i=0; i<n; i++) | ~^~ distance.cpp:113:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 113 | for(int j=0; j<k; j++) | ~^~ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c func.cpp -o func.o gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c init.c -o init.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c memDeg.cpp -o memDeg.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c partition_comp.cpp -o partition_comp.o func.cpp: In function 'void distCheck(Rcpp::NumericMatrix, unsigned int, unsigned int)': func.cpp:119:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 119 | for(int i=0; i<n;i++) | ~^~ func.cpp: In function 'double silhouette_internal(arma::mat, arma::mat, unsigned int, unsigned int, unsigned int, bool)': func.cpp:181:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 181 | for(int i = 0; i<n;i++) | ~^~ func.cpp:191:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 191 | for(int i=0;i<(n-1);i++) | ~^~~~~~ func.cpp:193:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for(int i2=(i+1); i2<n;i2++) | ~~^~ func.cpp:204:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 204 | for(int i=0;i<n;i++) | ~^~ func.cpp:206:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 206 | for(int j=0;j<k;j++) | ~^~ func.cpp:208:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 208 | for(int i2=0;i2<n;i2++) | ~~^~ func.cpp:214:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 214 | for(int i = 0; i<n;i++) | ~^~ func.cpp:216:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 216 | for(int j = 0; j<k;j++) | ~^~ func.cpp: In function 'Rcpp::List silhouette(arma::mat, arma::mat, unsigned int, unsigned int, unsigned int, bool)': func.cpp:264:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 264 | for(int i = 0; i<n;i++) | ~^~ func.cpp:274:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 274 | for(int i=0;i<(n-1);i++) | ~^~~~~~ func.cpp:276:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 276 | for(int i2=(i+1); i2<n;i2++) | ~~^~ func.cpp:290:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 290 | for(int i=0;i<n;i++) | ~^~ func.cpp:292:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 292 | for(int j=0;j<k;j++) | ~^~ func.cpp:294:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 294 | for(int i2=0;i2<n;i2++) | ~~^~ func.cpp:296:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 296 | if(memb(i2)==j){B(i,j) += D(i,i2);} | ~~~~~~~~^~~ func.cpp:300:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 300 | for(int i = 0; i<n;i++) | ~^~ func.cpp:302:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 302 | for(int j = 0; j<k;j++) | ~^~ func.cpp:304:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 304 | if(memb(i) == j) | ~~~~~~~~^~~~ func.cpp: In function 'double silhouetteFuzzy(arma::mat, arma::mat, double, unsigned int, unsigned int, unsigned int, bool)': func.cpp:359:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | for(int i = 0; i<n;i++) | ~^~ func.cpp:369:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 369 | for(int i=0;i<(n-1);i++) | ~^~~~~~ func.cpp:371:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 371 | for(int i2=(i+1); i2<n;i2++) | ~~^~ func.cpp:382:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 382 | for(int i=0;i<n;i++) | ~^~ func.cpp:384:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 384 | for(int j=0;j<k;j++) | ~^~ func.cpp:386:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 386 | for(int i2=0;i2<n;i2++) | ~~^~ func.cpp:388:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 388 | if(memb(i2)==j){B(i,j) += D(i,i2);} | ~~~~~~~~^~~ func.cpp:393:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 393 | for(int i = 0; i<n;i++) | ~^~ func.cpp:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | for(int j = 0; j<k;j++) | ~^~ func.cpp:397:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 397 | if(memb(i) == j) | ~~~~~~~~^~~~ func.cpp:418:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 418 | for(int i = 0; i<n;i++) | ~^~ func.cpp: In function 'double xie_beni(arma::mat, arma::mat, arma::mat, double, unsigned int, unsigned int)': func.cpp:496:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 496 | for(int i=0; i<(k-1);i++) | ~^~~~~~ func.cpp:498:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 498 | for(int j=(i+1); j<k;j++) | ~^~ memDeg.cpp: In function 'arma::mat memb_degree(arma::mat, double, unsigned int, unsigned int, unsigned int)': memDeg.cpp:24:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 24 | for(int i=0; i<n;i++) | ~^~ memDeg.cpp:37:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 37 | for(int j=0; j<k;j++) | ~^~ memDeg.cpp: In function 'arma::mat memb_degree_pf(arma::mat, double, unsigned int, unsigned int, unsigned int)': memDeg.cpp:68:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 68 | for(int i=0; i<n;i++) | ~^~ memDeg.cpp: In function 'arma::mat memb_degree_ent(arma::mat, double, unsigned int, unsigned int, unsigned int)': memDeg.cpp:123:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 123 | for(int i=0; i<n;i++) | ~^~ memDeg.cpp:136:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 136 | for(int j=0; j<k;j++) | ~^~ memDeg.cpp: In function 'arma::mat memb_degree_medoid(arma::mat, arma::uvec, double, unsigned int, unsigned int, unsigned int)': memDeg.cpp:172:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 172 | for(int i=0; i<n;i++) | ~^~ memDeg.cpp:186:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 186 | for(int j=0; j<k;j++) | ~^~ memDeg.cpp:169:8: warning: variable 'index_temp_med' set but not used [-Wunused-but-set-variable] 169 | bool index_temp_med = true; | ^~~~~~~~~~~~~~ partition_comp.cpp: In function 'Rcpp::List partition_comp(arma::mat, arma::mat, std::string)': partition_comp.cpp:40:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 40 | for(int j2 = 1; j2<N; j2++) | ~~^~ partition_comp.cpp:45:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 45 | for(int i = 0; i<k; i++) | ~^~ partition_comp.cpp:57:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 57 | for(int i1 = 0; i1<k; i1++) | ~~^~ partition_comp.cpp:59:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(int i2 = 0; i2<k; i2++) | ~~^~ partition_comp.cpp:74:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(int l = 0; l<v; l++) | ~^~ partition_comp.cpp:86:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 86 | for(int l1 = 0; l1<v; l1++) | ~~^~ partition_comp.cpp:88:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 88 | for(int l2 = 0; l2<v; l2++) | ~~^~ g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o fclust.so F.o FKM_rcpp.o RcppExports.o centroids.o distance.o func.o init.o memDeg.o partition_comp.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fclust/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fclust/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fclust/src' installing to /data/gannet/ripley/R/packages/tests-devel/fclust.Rcheck/00LOCK-fclust/00new/fclust/libs ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (fclust)