* installing *source* package 'BEKKs' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -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