* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘BEKKs’ ... ** package ‘BEKKs’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ using C++17 make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpblshll/R.INSTALL33018c798aa1dc/BEKKs/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c BekkFunctions.cpp -o BekkFunctions.o BekkFunctions.cpp: In function ‘bool valid_bekk(arma::mat&, arma::mat&, arma::mat&)’: BekkFunctions.cpp:108:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 108 | for (int i=0; i< eigvals.n_elem; i++){ | ~^~~~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘bool valid_asymm_bekk(arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::mat, arma::mat)’: BekkFunctions.cpp:142:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 142 | for (int i=0; i< eigvals.n_elem; i++){ | ~^~~~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘bool valid_asymm_bekk_sim(arma::mat&, arma::mat&, arma::mat&, arma::mat&, double, arma::mat)’: BekkFunctions.cpp:177:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 177 | for (int i=0; i< eigvals.n_elem; i++){ | ~^~~~~~~~~~~~~~~~ BekkFunctions.cpp:187:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 187 | for (int i=0; i < C.n_cols;i++){ | ~~^~~~~~~~~~ BekkFunctions.cpp: In function ‘double loglike_dbekk(const arma::vec&, const arma::mat&)’: BekkFunctions.cpp:304:7: warning: unused variable ‘numb_of_vars’ [-Wunused-variable] 304 | int numb_of_vars = 2 * pow(N, 2) + N * (N + 1)/2; | ^~~~~~~~~~~~ BekkFunctions.cpp: In function ‘double loglike_asymm_dbekk(const arma::vec&, const arma::mat&, arma::mat&)’: BekkFunctions.cpp:349:7: warning: unused variable ‘numb_of_vars’ [-Wunused-variable] 349 | int numb_of_vars = 3 * pow(N, 2) + N * (N + 1)/2; | ^~~~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat score_bekk(const arma::mat&, arma::mat&)’: BekkFunctions.cpp:440:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 440 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp:453:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 453 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ BekkFunctions.cpp:475:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 475 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat score_dbekk(const arma::mat&, arma::mat&)’: BekkFunctions.cpp:543:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 543 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp:557:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 557 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ BekkFunctions.cpp:579:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 579 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat score_asymm_bekk(const arma::mat&, arma::mat&, arma::mat&)’: BekkFunctions.cpp:645:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 645 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp:658:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 658 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ BekkFunctions.cpp:681:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 681 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat score_asymm_dbekk(const arma::mat&, arma::mat&, arma::mat&)’: BekkFunctions.cpp:749:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 749 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp:762:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 762 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ BekkFunctions.cpp:785:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 785 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List bhh_bekk(arma::mat&, const arma::mat&, int&, double&)’: BekkFunctions.cpp:824:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 824 | for (int i = 0; i < steps.n_elem; i++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List bhh_asymm_bekk(arma::mat&, const arma::mat&, int&, double&, arma::mat&)’: BekkFunctions.cpp:908:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 908 | for (int i = 0; i < steps.n_elem; i++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List bhh_dbekk(arma::mat&, const arma::mat&, int&, double&)’: BekkFunctions.cpp:993:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 993 | for (int i = 0; i < steps.n_elem; i++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List bhh_asymm_dbekk(arma::mat&, const arma::mat&, int&, double&, arma::mat&)’: BekkFunctions.cpp:1077:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1077 | for (int i = 0; i < steps.n_elem; i++) { | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List random_grid_search_dBEKK(arma::mat)’: BekkFunctions.cpp:1469:9: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1469 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ BekkFunctions.cpp:1432:7: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1432 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List random_grid_search_asymmetric_dBEKK(arma::mat, arma::mat)’: BekkFunctions.cpp:1579:9: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1579 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ BekkFunctions.cpp:1545:7: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1545 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List sigma_bekk(arma::mat&, arma::mat&, arma::mat&, arma::mat&)’: BekkFunctions.cpp:1655:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1655 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ BekkFunctions.cpp: In function ‘Rcpp::List sigma_bekk_asymm(arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::mat)’: BekkFunctions.cpp:1683:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1683 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat hesse_bekk(arma::mat, arma::mat)’: BekkFunctions.cpp:1772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1772 | for(int i=1; i < theta.n_rows; i++){ | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp:1784:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1784 | for(int i=0; i<theta.n_rows;i++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:1785:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1785 | for(int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:1849:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1849 | for (int j=1;j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:1863:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1863 | for (int l=0; l<theta.n_rows;l++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:1864:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 1864 | for (int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat hesse_asymm_bekk(arma::mat, arma::mat, arma::mat&)’: BekkFunctions.cpp:2189:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 2189 | for(int i=1; i < theta.n_rows; i++){ | ~~^~~~~~~~~~~~~~ BekkFunctions.cpp:2201:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 2201 | for(int i=0; i<theta.n_rows;i++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:2202:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 2202 | for(int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:2276:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 2276 | for (int j=1;j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:2290:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 2290 | for (int l=0; l<theta.n_rows;l++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp:2291:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 2291 | for (int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ BekkFunctions.cpp: In function ‘arma::mat virf_dbekk(arma::mat&, arma::vec&, arma::mat&, int&)’: BekkFunctions.cpp:2604:7: warning: unused variable ‘numb_of_vars’ [-Wunused-variable] 2604 | int numb_of_vars = 2*N+(N*(N+1)/2); | ^~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c BekkSim.cpp -o BekkSim.o BekkSim.cpp: In function ‘arma::mat simulate_dbekk_c(arma::vec, int, int)’: BekkSim.cpp:108:7: warning: unused variable ‘numb_of_vars’ [-Wunused-variable] 108 | int numb_of_vars = 2 * pow(N, 2) + N*(N + 1)/2; | ^~~~~~~~~~~~ BekkSim.cpp: In function ‘arma::mat simulate_dbekka_c(arma::vec, int, int, arma::vec, double)’: BekkSim.cpp:147:7: warning: unused variable ‘numb_of_vars’ [-Wunused-variable] 147 | int numb_of_vars = 3 * pow(N, 2) + N*(N + 1)/2; | ^~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c IndicatorFunction.cpp -o IndicatorFunction.o IndicatorFunction.cpp: In function ‘arma::mat elimination_mat(const int&)’: IndicatorFunction.cpp:46:21: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 46 | while (eli.n_cols < n2) { | ~~~~~~~~~~~^~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ScalarBEKK.cpp -o ScalarBEKK.o ScalarBEKK.cpp: In function ‘double loglike_asymm_sbekk(const arma::vec&, const arma::mat&, arma::mat&)’: ScalarBEKK.cpp:131:10: warning: unused variable ‘expected_indicator’ [-Wunused-variable] 131 | double expected_indicator = expected_indicator_value(r, signs); | ^~~~~~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘arma::mat score_sbekk(const arma::mat&, arma::mat&)’: ScalarBEKK.cpp:201:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 201 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp:215:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 215 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ ScalarBEKK.cpp:237:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 237 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘arma::mat score_asymm_sbekk(const arma::mat&, arma::mat&, arma::mat&)’: ScalarBEKK.cpp:300:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 300 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp:314:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 314 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ ScalarBEKK.cpp:334:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 334 | for (int k = 0; k < theta.n_rows; k++) { | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp:254:10: warning: unused variable ‘expected_indicator’ [-Wunused-variable] 254 | double expected_indicator = expected_indicator_value(r, signs); | ^~~~~~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘Rcpp::List bhh_sbekk(arma::mat&, const arma::mat&, int&, double&)’: ScalarBEKK.cpp:371:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 371 | for (int i = 0; i < steps.n_elem; i++) { | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘Rcpp::List bhh_asymm_sbekk(arma::mat&, const arma::mat&, int&, double&, arma::mat&)’: ScalarBEKK.cpp:455:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 455 | for (int i = 0; i < steps.n_elem; i++) { | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘arma::mat hesse_sbekk(arma::mat, arma::mat)’: ScalarBEKK.cpp:587:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 587 | for(int i=1; i < theta.n_rows; i++){ | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp:599:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 599 | for(int i=0; i<theta.n_rows;i++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:600:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 600 | for(int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:669:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 669 | for (int j=1;j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:683:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 683 | for (int l=0; l<theta.n_rows;l++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:684:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 684 | for (int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘arma::mat hesse_asymm_sbekk(arma::mat, arma::mat, arma::mat)’: ScalarBEKK.cpp:802:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 802 | for(int i=1; i < theta.n_rows; i++){ | ~~^~~~~~~~~~~~~~ ScalarBEKK.cpp:814:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 814 | for(int i=0; i<theta.n_rows;i++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:815:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 815 | for(int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:903:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 903 | for (int j=1;j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:917:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 917 | for (int l=0; l<theta.n_rows;l++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:918:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 918 | for (int j=0; j<theta.n_rows;j++){ | ~^~~~~~~~~~~~~ ScalarBEKK.cpp:720:10: warning: unused variable ‘expected_indicator’ [-Wunused-variable] 720 | double expected_indicator = expected_indicator_value(r, signs); | ^~~~~~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘Rcpp::List sigma_sbekk(arma::mat&, arma::mat&, double, double)’: ScalarBEKK.cpp:966:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 966 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ ScalarBEKK.cpp: In function ‘Rcpp::List sigma_sbekk_asymm(arma::mat&, arma::mat&, double, double, double, arma::mat)’: ScalarBEKK.cpp:992:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare] 992 | for (int i = 1; i < r.n_rows; i++) { | ~~^~~~~~~~~~ ScalarBEKK.cpp:987:10: warning: unused variable ‘exp_signs’ [-Wunused-variable] 987 | double exp_signs = expected_indicator_value(r, signs); | ^~~~~~~~~ ScalarBEKK.cpp: In function ‘Rcpp::List random_grid_search_sBEKK(arma::mat)’: ScalarBEKK.cpp:1049:9: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1049 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ ScalarBEKK.cpp:1022:7: warning: variable ‘diagonal_counter’ set but not used [-Wunused-but-set-variable] 1022 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ ScalarBEKK.cpp: In function ‘Rcpp::List random_grid_search_asymmetric_sBEKK(arma::mat, arma::mat)’: ScalarBEKK.cpp:1156:13: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1156 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ ScalarBEKK.cpp:1127:7: warning: unused variable ‘diagonal_counter’ [-Wunused-variable] 1127 | int diagonal_counter = 0; | ^~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c YLagCr.cpp -o YLagCr.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o BEKKs.so BekkFunctions.o BekkSim.o IndicatorFunction.o RcppExports.o ScalarBEKK.o YLagCr.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpblshll/R.INSTALL33018c798aa1dc/BEKKs/src' make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpblshll/R.INSTALL33018c798aa1dc/BEKKs/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpblshll/R.INSTALL33018c798aa1dc/BEKKs/src' installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-BEKKs/00new/BEKKs/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package ‘BEKKs’ finding HTML links ... done BEKKs html GoldStocksBonds html StocksBonds html VaR html backtest html bekk_fit html bekk_fit_methods html bekk_spec html portmanteau.test html predict html simulate html virf html *** copying figures ** 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 (BEKKs)