* installing *source* package ‘mixAK’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.5 (1)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c 00mixAK_init.cpp -o 00mixAK_init.o In file included from 00mixAK_init.cpp:13: In file included from ./AK_LAPACK.h:78: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c AK_BLAS.cpp -o AK_BLAS.o In file included from AK_BLAS.cpp:14: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c AK_BSTAT.cpp -o AK_BSTAT.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c AK_LAPACK.cpp -o AK_LAPACK.o In file included from AK_LAPACK.cpp:14: In file included from ./AK_LAPACK.h:78: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d AK_LAPACK.cpp:1001:17: warning: variable 'LTp' set but not used [-Wunused-but-set-variable] 1001 | static int i, LTp, p_p; | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c AK_Utils.cpp -o AK_Utils.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_Dirichlet.cpp -o Dist_Dirichlet.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_Discrete.cpp -o Dist_Discrete.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_MVN.cpp -o Dist_MVN.o In file included from Dist_MVN.cpp:13: In file included from ./Dist_MVN.h:60: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_MVT.cpp -o Dist_MVT.o In file included from Dist_MVT.cpp:14: In file included from ./Dist_MVT.h:41: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_TMVN.cpp -o Dist_TMVN.o In file included from Dist_TMVN.cpp:12: In file included from ./Dist_TMVN.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d Dist_TMVN.cpp:83:18: warning: variable 'zP' set but not used [-Wunused-but-set-variable] 83 | static double *zP, *z, *Gz; | ^ Dist_TMVN.cpp:84:24: warning: variable 'alphaP' set but not used [-Wunused-but-set-variable] 84 | static const double *alphaP, *aP, *bP, *GzP; | ^ Dist_TMVN.cpp:84:33: warning: variable 'aP' set but not used [-Wunused-but-set-variable] 84 | static const double *alphaP, *aP, *bP, *GzP; | ^ Dist_TMVN.cpp:84:38: warning: variable 'bP' set but not used [-Wunused-but-set-variable] 84 | static const double *alphaP, *aP, *bP, *GzP; | ^ Dist_TMVN.cpp:84:43: warning: variable 'GzP' set but not used [-Wunused-but-set-variable] 84 | static const double *alphaP, *aP, *bP, *GzP; | ^ Dist_TMVN.cpp:85:21: warning: variable 'truncP' set but not used [-Wunused-but-set-variable] 85 | static const int *truncP; | ^ 12 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_TNorm.cpp -o Dist_TNorm.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_TmixMVN.cpp -o Dist_TmixMVN.o In file included from Dist_TmixMVN.cpp:11: In file included from ./Dist_TmixMVN.h:22: In file included from ./Dist_TMVN.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_TmixNorm.cpp -o Dist_TmixNorm.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_Wishart.cpp -o Dist_Wishart.o In file included from Dist_Wishart.cpp:13: In file included from ./Dist_Wishart.h:42: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_mixMVN.cpp -o Dist_mixMVN.o In file included from Dist_mixMVN.cpp:13: In file included from ./Dist_mixMVN.h:29: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d Dist_mixMVN.cpp:212:13: warning: unused variable 'LTnx' [-Wunused-variable] 212 | const int LTnx = (*nx * (*nx + 1))/2; | ^~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Dist_mixNorm.cpp -o Dist_mixNorm.o Dist_mixNorm.cpp:91:7: warning: unused variable 'k' [-Wunused-variable] 91 | int k, j; | ^ 1 warning generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_Deviance.cpp -o GLMM_Deviance.o In file included from GLMM_Deviance.cpp:12: In file included from ./GLMM_Deviance.h:40: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_Deviance.cpp:85:24: warning: variable 'w_k' set but not used [-Wunused-but-set-variable] 85 | static const double *w_k, *df_k, *logw_k, *mu_k, *Li_k, *Q_k, *log_dets_k; | ^ GLMM_Deviance.cpp:139:10: warning: unused variable 'U2_g' [-Wunused-variable] 139 | double U2_g[5]; | ^~~~ GLMM_Deviance.cpp:140:10: warning: unused variable 'H2_g' [-Wunused-variable] 140 | double H2_g[15]; | ^~~~ 9 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_Deviance2.cpp -o GLMM_Deviance2.o In file included from GLMM_Deviance2.cpp:12: In file included from ./GLMM_Deviance2.h:39: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_Deviance2.cpp:95:24: warning: variable 'w_k' set but not used [-Wunused-but-set-variable] 95 | static const double *w_k, *df_k, *logw_k, *mu_k, *Li_k, *Q_k, *log_dets_k; | ^ GLMM_Deviance2.cpp:103:28: warning: unused variable 'bDb' [-Wunused-variable] 103 | static double log_det_R, bDb, loglik_ik, max_log_pi_ik; | ^~~ GLMM_Deviance2.cpp:129:18: warning: unused variable 'bscaled_hatP' [-Wunused-variable] 129 | static double *bscaled_hatP; | ^~~~~~~~~~~~ GLMM_Deviance2.cpp:159:10: warning: unused variable 'U2_g' [-Wunused-variable] 159 | double U2_g[5]; | ^~~~ GLMM_Deviance2.cpp:160:10: warning: unused variable 'H2_g' [-Wunused-variable] 160 | double H2_g[15]; | ^~~~ 11 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_Deviance2Pr_obs.cpp -o GLMM_Deviance2Pr_obs.o In file included from GLMM_Deviance2Pr_obs.cpp:11: In file included from ./GLMM_Deviance2Pr_obs.h:20: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_Deviance2Pr_obs.cpp:34:17: warning: unused variable 'sum_w_L_ik' [-Wunused-variable] 34 | static double sum_w_L_ik; | ^~~~~~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_MCMC.cpp -o GLMM_MCMC.o In file included from GLMM_MCMC.cpp:11: In file included from ./GLMM_MCMC.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_MCMC.cpp:96:13: warning: unused variable 'DEBUG' [-Wunused-variable] 96 | const int DEBUG = 0; | ^~~~~ GLMM_MCMC.cpp:253:17: warning: unused variable 'h_df' [-Wunused-variable] 253 | const double *h_df = g_df + 1; | ^~~~ 8 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_NMixRelabel.cpp -o GLMM_NMixRelabel.o In file included from GLMM_NMixRelabel.cpp:11: In file included from ./GLMM_NMixRelabel.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_NMixRelabel.cpp:346:1: warning: '/*' within block comment [-Wcomment] 346 | /***** %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% *****/ | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_PED.cpp -o GLMM_PED.o In file included from GLMM_PED.cpp:10: In file included from ./GLMM_PED.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_PED.cpp:123:7: warning: unused variable 'LT_max_p_fi' [-Wunused-variable] 123 | int LT_max_p_fi = (max_p_fi * (max_p_fi + 1)) / 2; | ^~~~~~~~~~~ GLMM_PED.cpp:355:7: warning: unused variable 'max_N_s' [-Wunused-variable] 355 | int max_N_s = AK_Basic::maxArray(N_s, R); | ^~~~~~~ GLMM_PED.cpp:512:12: warning: unused variable 'eta_zsrespP' [-Wunused-variable] 512 | double **eta_zsrespP = Calloc(R, double*); | ^~~~~~~~~~~ 9 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_copy_shift_eta_meanY_Zresp.cpp -o GLMM_copy_shift_eta_meanY_Zresp.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_create_SZitZiS.cpp -o GLMM_create_SZitZiS.o In file included from GLMM_create_SZitZiS.cpp:12: In file included from ./GLMM_create_SZitZiS.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_create_SZitZiS_4longitDA.cpp -o GLMM_create_SZitZiS_4longitDA.o In file included from GLMM_create_SZitZiS_4longitDA.cpp:11: In file included from ./GLMM_create_SZitZiS_4longitDA.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_create_SZitZiS_4longitDA.cpp:34:41: warning: unused variable 'SZitZiSP' [-Wunused-variable] 34 | double *SZitZiS_c_is, *SZitZiS_d_is, *SZitZiSP, *SZitZiS_prev; | ^~~~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_create_XtX.cpp -o GLMM_create_XtX.o In file included from GLMM_create_XtX.cpp:11: In file included from ./GLMM_create_XtX.h:24: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_create_ZS.cpp -o GLMM_create_ZS.o In file included from GLMM_create_ZS.cpp:11: In file included from ./GLMM_create_ZS.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_create_ZS.cpp:33:26: warning: unused variable 'scaleP2' [-Wunused-variable] 33 | const double *scaleP, *scaleP2; | ^~~~~~~ GLMM_create_ZS.cpp:42:7: warning: unused variable 'iZS' [-Wunused-variable] 42 | int iZS = 0; | ^~~ 8 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_create_ZiS.cpp -o GLMM_create_ZiS.o In file included from GLMM_create_ZiS.cpp:11: In file included from ./GLMM_create_ZiS.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_dY_meanY.cpp -o GLMM_dY_meanY.o In file included from GLMM_dY_meanY.cpp:12: In file included from ./GLMM_dY_meanY.h:25: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_dY_meanY.cpp:36:17: warning: variable 'Y_cP' set but not used [-Wunused-but-set-variable] 36 | const double *Y_cP = Y_c; | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_eta_fixed_random2eta_meanY.cpp -o GLMM_eta_fixed_random2eta_meanY.o In file included from GLMM_eta_fixed_random2eta_meanY.cpp:10: In file included from ./GLMM_eta_fixed_random2eta_meanY.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_fitted_Bernoulli_Logit.cpp -o GLMM_fitted_Bernoulli_Logit.o In file included from GLMM_fitted_Bernoulli_Logit.cpp:11: In file included from ./GLMM_fitted_Bernoulli_Logit.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_fitted_Poisson_Log.cpp -o GLMM_fitted_Poisson_Log.o In file included from GLMM_fitted_Poisson_Log.cpp:11: In file included from ./GLMM_fitted_Poisson_Log.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_linear_predictors.cpp -o GLMM_linear_predictors.o In file included from GLMM_linear_predictors.cpp:11: In file included from ./GLMM_linear_predictors.h:35: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_linear_predictors.cpp:495:14: warning: variable 'cumq_riP' set but not used [-Wunused-but-set-variable] 495 | const int *cumq_riP = cumq_ri; | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_longitDA.cpp -o GLMM_longitDA.o In file included from GLMM_longitDA.cpp:11: In file included from ./GLMM_longitDA.h:27: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_longitDA.cpp:63:13: warning: unused variable 'DEBUG' [-Wunused-variable] 63 | const int DEBUG = 0; | ^~~~~ GLMM_longitDA.cpp:66:14: warning: unused variable 'm' [-Wunused-variable] 66 | int s, cl, m, i, j, k; | ^ GLMM_longitDA.cpp:66:20: warning: unused variable 'j' [-Wunused-variable] 66 | int s, cl, m, i, j, k; | ^ GLMM_longitDA.cpp:70:13: warning: unused variable 'R_I' [-Wunused-variable] 70 | const int R_I = R * *I; | ^~~ GLMM_longitDA.cpp:162:7: warning: unused variable 'backs' [-Wunused-variable] 162 | int backs = 1; | ^~~~~ GLMM_longitDA.cpp:172:14: warning: variable 'p_fi_cl' set but not used [-Wunused-but-set-variable] 172 | const int *p_fi_cl = p_fi; | ^ 12 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_longitDA2.cpp -o GLMM_longitDA2.o In file included from GLMM_longitDA2.cpp:11: In file included from ./GLMM_longitDA2.h:25: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_longitDA2.cpp:435:22: warning: '&&' within '||' [-Wlogical-op-parentheses] 435 | if (*nonSilent && !(iter_lC % *info) || iter_lC == *keepMCMC_cl){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~~ GLMM_longitDA2.cpp:435:22: note: place parentheses around the '&&' expression to silence this warning 435 | if (*nonSilent && !(iter_lC % *info) || iter_lC == *keepMCMC_cl){ | ^ | ( ) GLMM_longitDA2.cpp:85:14: warning: unused variable 'm' [-Wunused-variable] 85 | int s, cl, m, i, j, k; | ^ GLMM_longitDA2.cpp:290:7: warning: unused variable 'backs' [-Wunused-variable] 290 | int backs = 1; | ^~~~~ GLMM_longitDA2.cpp:325:14: warning: variable 'p_fi_cl' set but not used [-Wunused-but-set-variable] 325 | const int *p_fi_cl = p_fi; | ^ 10 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_longitPred_nmix_gauss.cpp -o GLMM_longitPred_nmix_gauss.o In file included from GLMM_longitPred_nmix_gauss.cpp:12: In file included from ./GLMM_longitPred_nmix_gauss.h:26: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_longitPred_nmix_gauss.cpp:82:31: warning: unused variable 'eta_randomP' [-Wunused-variable] 82 | static double *eta_fixedP, *eta_randomP, *eta_zsP; | ^~~~~~~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_newData.cpp -o GLMM_newData.o In file included from GLMM_newData.cpp:10: In file included from ./GLMM_newData.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_newData.cpp:47:15: warning: unused variable 'fname' [-Wunused-variable] 47 | const char *fname = "GLMM::newData"; | ^~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_scale_ZitZi.cpp -o GLMM_scale_ZitZi.o In file included from GLMM_scale_ZitZi.cpp:11: In file included from ./GLMM_scale_ZitZi.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_updateFixEf.cpp -o GLMM_updateFixEf.o In file included from GLMM_updateFixEf.cpp:13: In file included from ./GLMM_updateFixEf.h:26: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_updateFixEf.cpp:72:40: warning: unused variable 'dworkP' [-Wunused-variable] 72 | static double *mu_fullP, *Li_fullP, *dworkP, *beta_propP; | ^~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_updateHyperVars_eps.cpp -o GLMM_updateHyperVars_eps.o In file included from GLMM_updateHyperVars_eps.cpp:11: In file included from ./GLMM_updateHyperVars_eps.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_updateRanEf.cpp -o GLMM_updateRanEf.o In file included from GLMM_updateRanEf.cpp:12: In file included from ./GLMM_updateRanEf.h:25: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_updateRanEf.cpp:498:5: warning: '/*' within block comment [-Wcomment] 498 | /*** +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ***/ | ^ GLMM_updateRanEf.cpp:76:32: warning: unused variable 'row' [-Wunused-variable] 76 | static int s, i, j, k, itmp, row, col; | ^~~ GLMM_updateRanEf.cpp:76:37: warning: unused variable 'col' [-Wunused-variable] 76 | static int s, i, j, k, itmp, row, col; | ^~~ GLMM_updateRanEf.cpp:82:88: warning: unused variable 'Li_full_backupP' [-Wunused-variable] 82 | static double *bP, *bscaledP, *bscaled_i, *b_i, *eta_random_propP, *mean_Y_d_propP, *Li_full_backupP, *Li_fullP; | ^~~~~~~~~~~~~~~ GLMM_updateRanEf.cpp:82:106: warning: unused variable 'Li_fullP' [-Wunused-variable] 82 | static double *bP, *bscaledP, *bscaled_i, *b_i, *eta_random_propP, *mean_Y_d_propP, *Li_full_backupP, *Li_fullP; | ^~~~~~~~ 11 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_updateRanEf_QR.cpp -o GLMM_updateRanEf_QR.o In file included from GLMM_updateRanEf_QR.cpp:11: In file included from ./GLMM_updateRanEf_QR.h:34: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d GLMM_updateRanEf_QR.cpp:73:20: warning: unused variable 'j' [-Wunused-variable] 73 | static int s, i, j, k, l; | ^ GLMM_updateRanEf_QR.cpp:73:23: warning: unused variable 'k' [-Wunused-variable] 73 | static int s, i, j, k, l; | ^ GLMM_updateRanEf_QR.cpp:73:26: warning: unused variable 'l' [-Wunused-variable] 73 | static int s, i, j, k, l; | ^ 9 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c GLMM_updateVars_eps.cpp -o GLMM_updateVars_eps.o In file included from GLMM_updateVars_eps.cpp:11: In file included from ./GLMM_updateVars_eps.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LogLik_Bernoulli_Logit.cpp -o LogLik_Bernoulli_Logit.o In file included from LogLik_Bernoulli_Logit.cpp:13: In file included from ./LogLik_Bernoulli_Logit.h:30: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d LogLik_Bernoulli_Logit.cpp:610:24: warning: variable 'etaP' set but not used [-Wunused-but-set-variable] 610 | static const double *etaP, *offsetP, *piP, *scaleP, *xP, *SxxSP; | ^ LogLik_Bernoulli_Logit.cpp:610:31: warning: variable 'offsetP' set but not used [-Wunused-but-set-variable] 610 | static const double *etaP, *offsetP, *piP, *scaleP, *xP, *SxxSP; | ^ 8 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LogLik_Gauss_Identity.cpp -o LogLik_Gauss_Identity.o In file included from LogLik_Gauss_Identity.cpp:11: In file included from ./LogLik_Gauss_Identity.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d LogLik_Gauss_Identity.cpp:32:48: warning: unused variable 'log_y_factorP' [-Wunused-variable] 32 | static const double *offsetP, *xP, *thetaP, *log_y_factorP; | ^~~~~~~~~~~~~ LogLik_Gauss_Identity.cpp:106:48: warning: unused variable 'log_y_factorP' [-Wunused-variable] 106 | static const double *offsetP, *xP, *thetaP, *log_y_factorP; | ^~~~~~~~~~~~~ LogLik_Gauss_Identity.cpp:188:48: warning: unused variable 'log_y_factorP' [-Wunused-variable] 188 | static const double *offsetP, *xP, *thetaP, *log_y_factorP; | ^~~~~~~~~~~~~ LogLik_Gauss_Identity.cpp:460:20: warning: unused variable 'k' [-Wunused-variable] 460 | static int i, j, k; | ^ 10 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LogLik_Poisson_Log.cpp -o LogLik_Poisson_Log.o In file included from LogLik_Poisson_Log.cpp:11: In file included from ./LogLik_Poisson_Log.h:29: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d LogLik_Poisson_Log.cpp:295:17: warning: unused variable 'eta_now' [-Wunused-variable] 295 | static double eta_now, ll_now; | ^~~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MCMC_Moments_NormalApprox.cpp -o MCMC_Moments_NormalApprox.o In file included from MCMC_Moments_NormalApprox.cpp:12: In file included from ./MCMC_Moments_NormalApprox.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d MCMC_Moments_NormalApprox.cpp:96:27: warning: unused variable 'QP' [-Wunused-variable] 96 | static double *cmeanP, *QP; | ^~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MCMC_Moments_NormalApprox_QR.cpp -o MCMC_Moments_NormalApprox_QR.o In file included from MCMC_Moments_NormalApprox_QR.cpp:12: In file included from ./MCMC_Moments_NormalApprox_QR.h:25: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d MCMC_Moments_NormalApprox_QR.cpp:180:14: warning: unused variable 'one' [-Wunused-variable] 180 | static int one = 1; | ^~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MCMC_loglik_Zwork1_stres.cpp -o MCMC_loglik_Zwork1_stres.o In file included from MCMC_loglik_Zwork1_stres.cpp:11: In file included from ./MCMC_loglik_Zwork1_stres.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d MCMC_loglik_Zwork1_stres.cpp:476:17: warning: unused variable 's2' [-Wunused-variable] 476 | static int s, s2, l; | ^~ MCMC_loglik_Zwork1_stres.cpp:577:17: warning: unused variable 's2' [-Wunused-variable] 577 | static int s, s2, l; | ^~ MCMC_loglik_Zwork1_stres.cpp:577:21: warning: unused variable 'l' [-Wunused-variable] 577 | static int s, s2, l; | ^ 9 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Misc_findIndexOfPermutation.cpp -o Misc_findIndexOfPermutation.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Misc_generatePermutations.cpp -o Misc_generatePermutations.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_ChainsDerived.cpp -o NMix_ChainsDerived.o In file included from NMix_ChainsDerived.cpp:12: In file included from ./NMix_ChainsDerived.h:24: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_ChainsDerived.cpp:37:11: warning: unused variable 'dP' [-Wunused-variable] 37 | double *dP; | ^~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Deviance.cpp -o NMix_Deviance.o In file included from NMix_Deviance.cpp:11: In file included from ./NMix_Deviance.h:26: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_MCMC.cpp -o NMix_MCMC.o In file included from NMix_MCMC.cpp:11: In file included from ./NMix_MCMC.h:29: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_NMixRelabel.cpp -o NMix_NMixRelabel.o In file included from NMix_NMixRelabel.cpp:11: In file included from ./NMix_NMixRelabel.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_NMixRelabel.cpp:212:11: warning: unused variable 'hatPr_yP' [-Wunused-variable] 212 | double *hatPr_yP = NULL; | ^~~~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PED.cpp -o NMix_PED.o In file included from NMix_PED.cpp:11: In file included from ./NMix_PED.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_PED.cpp:56:15: warning: unused variable 'fname' [-Wunused-variable] 56 | const char *fname = "NMix_PED"; | ^~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PED_coreMulti.cpp -o NMix_PED_coreMulti.o In file included from NMix_PED_coreMulti.cpp:11: In file included from ./NMix_PED_coreMulti.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PED_coreUni.cpp -o NMix_PED_coreUni.o In file included from NMix_PED_coreUni.cpp:11: In file included from ./NMix_PED_coreUni.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PosterMeanMixParam.cpp -o NMix_PosterMeanMixParam.o In file included from NMix_PosterMeanMixParam.cpp:11: In file included from ./NMix_PosterMeanMixParam.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Pr_y_and_cum_Pr_y.cpp -o NMix_Pr_y_and_cum_Pr_y.o In file included from NMix_Pr_y_and_cum_Pr_y.cpp:11: In file included from ./NMix_Pr_y_and_cum_Pr_y.h:24: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PredCDFMarg.cpp -o NMix_PredCDFMarg.o In file included from NMix_PredCDFMarg.cpp:12: In file included from ./NMix_PredCDFMarg.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PredCondDensCDFMarg.cpp -o NMix_PredCondDensCDFMarg.o In file included from NMix_PredCondDensCDFMarg.cpp:12: In file included from ./NMix_PredCondDensCDFMarg.h:27: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_PredCondDensCDFMarg.cpp:70:17: warning: unused variable 'wP' [-Wunused-variable] 70 | const double *wP = NULL; | ^~ NMix_PredCondDensCDFMarg.cpp:71:17: warning: unused variable 'muP' [-Wunused-variable] 71 | const double *muP = NULL; | ^~~ NMix_PredCondDensCDFMarg.cpp:72:17: warning: unused variable 'LiP' [-Wunused-variable] 72 | const double *LiP = NULL; | ^~~ 9 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PredCondDensJoint2.cpp -o NMix_PredCondDensJoint2.o In file included from NMix_PredCondDensJoint2.cpp:12: In file included from ./NMix_PredCondDensJoint2.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_PredCondDensJoint2.cpp:56:17: warning: unused variable 'wP' [-Wunused-variable] 56 | const double *wP = NULL; | ^~ NMix_PredCondDensJoint2.cpp:57:17: warning: unused variable 'muP' [-Wunused-variable] 57 | const double *muP = NULL; | ^~~ NMix_PredCondDensJoint2.cpp:58:17: warning: unused variable 'LiP' [-Wunused-variable] 58 | const double *LiP = NULL; | ^~~ 9 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PredDA.cpp -o NMix_PredDA.o In file included from NMix_PredDA.cpp:11: In file included from ./NMix_PredDA.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_PredDA.cpp:39:13: warning: unused variable 'debug' [-Wunused-variable] 39 | const int debug = 0; | ^~~~~ NMix_PredDA.cpp:40:15: warning: unused variable 'fname' [-Wunused-variable] 40 | const char *fname = "NMix_PredDA"; | ^~~~~ 8 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PredDensJoint2.cpp -o NMix_PredDensJoint2.o In file included from NMix_PredDensJoint2.cpp:12: In file included from ./NMix_PredDensJoint2.h:20: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_PredDensMarg.cpp -o NMix_PredDensMarg.o In file included from NMix_PredDensMarg.cpp:12: In file included from ./NMix_PredDensMarg.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMC_aux_vector_u.cpp -o NMix_RJMCMC_aux_vector_u.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMC_logJacLambdaVSigma.cpp -o NMix_RJMCMC_logJacLambdaVSigma.o In file included from NMix_RJMCMC_logJacLambdaVSigma.cpp:11: In file included from ./NMix_RJMCMC_logJacLambdaVSigma.h:20: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMC_logJac_part3.cpp -o NMix_RJMCMC_logJac_part3.o In file included from NMix_RJMCMC_logJac_part3.cpp:11: In file included from ./NMix_RJMCMC_logJac_part3.h:20: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMCbirth.cpp -o NMix_RJMCMCbirth.o In file included from NMix_RJMCMCbirth.cpp:12: In file included from ./NMix_RJMCMCbirth.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_RJMCMCbirth.cpp:54:39: warning: variable 'dwork_orderComp' set but not used [-Wunused-but-set-variable] 54 | static double *dwork_misc, *Li4mu, *dwork_orderComp; | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMCcombine.cpp -o NMix_RJMCMCcombine.o In file included from NMix_RJMCMCcombine.cpp:13: In file included from ./NMix_RJMCMCcombine.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMCdeath.cpp -o NMix_RJMCMCdeath.o In file included from NMix_RJMCMCdeath.cpp:11: In file included from ./NMix_RJMCMCdeath.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_RJMCMCsplit.cpp -o NMix_RJMCMCsplit.o In file included from NMix_RJMCMCsplit.cpp:12: In file included from ./NMix_RJMCMCsplit.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_RJMCMCsplit.cpp:68:18: warning: variable 'dlambdaV_dSigma' set but not used [-Wunused-but-set-variable] 68 | static double *dlambdaV_dSigma; | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Stephens_costMatrix.cpp -o NMix_Stephens_costMatrix.o In file included from NMix_Stephens_costMatrix.cpp:11: In file included from ./NMix_Stephens_costMatrix.h:26: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Stephens_step1.cpp -o NMix_Stephens_step1.o In file included from NMix_Stephens_step1.cpp:11: In file included from ./NMix_Stephens_step1.h:26: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Stephens_step2_search.cpp -o NMix_Stephens_step2_search.o In file included from NMix_Stephens_step2_search.cpp:11: In file included from ./NMix_Stephens_step2_search.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_Stephens_step2_search.cpp:37:37: warning: unused variable 'pij_q' [-Wunused-variable] 37 | static double minLoss, Loss, pij, pij_q; | ^~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Stephens_step2_transport.cpp -o NMix_Stephens_step2_transport.o In file included from NMix_Stephens_step2_transport.cpp:11: In file included from ./NMix_Stephens_step2_transport.h:28: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_Stephens_step2_transport.cpp:37:15: warning: variable 'orderP' set but not used [-Wunused-but-set-variable] 37 | static int *orderP, *rankP; | ^ NMix_Stephens_step2_transport.cpp:37:24: warning: variable 'rankP' set but not used [-Wunused-but-set-variable] 37 | static int *orderP, *rankP; | ^ NMix_Stephens_step2_transport.cpp:39:17: warning: unused variable 'minLoss' [-Wunused-variable] 39 | static double minLoss[1]; | ^~~~~~~ NMix_Stephens_step2_transport.cpp:40:14: warning: unused variable 'lp_status' [-Wunused-variable] 40 | static int lp_status[1]; | ^~~~~~~~~ NMix_Stephens_step2_transport.cpp:42:17: warning: unused variable 'IZERO' [-Wunused-variable] 42 | static int IZERO[1] = {0}; | ^~~~~ NMix_Stephens_step2_transport.cpp:43:17: warning: unused variable 'DZERO' [-Wunused-variable] 43 | static double DZERO[1] = {0}; | ^~~~~ 12 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_Utils.cpp -o NMix_Utils.o In file included from NMix_Utils.cpp:13: In file included from ./NMix_Utils.h:50: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_fullCondMean_WeightsMeansVars.cpp -o NMix_fullCondMean_WeightsMeansVars.o In file included from NMix_fullCondMean_WeightsMeansVars.cpp:12: In file included from ./NMix_fullCondMean_WeightsMeansVars.h:24: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_orderComp.cpp -o NMix_orderComp.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_reorder_Pr_y.cpp -o NMix_reorder_Pr_y.o In file included from NMix_reorder_Pr_y.cpp:11: In file included from ./NMix_reorder_Pr_y.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_sum_Ir.cpp -o NMix_sum_Ir.o In file included from NMix_sum_Ir.cpp:11: In file included from ./NMix_sum_Ir.h:20: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_sum_Ir.cpp:26:17: warning: unused variable 'j' [-Wunused-variable] 26 | static int l, j, m; | ^ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_updateAlloc.cpp -o NMix_updateAlloc.o In file included from NMix_updateAlloc.cpp:11: In file included from ./NMix_updateAlloc.h:24: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_updateCensObs.cpp -o NMix_updateCensObs.o In file included from NMix_updateCensObs.cpp:11: In file included from ./NMix_updateCensObs.h:20: In file included from ./Stat_BLA.h:27: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_updateHyperVars.cpp -o NMix_updateHyperVars.o In file included from NMix_updateHyperVars.cpp:11: In file included from ./NMix_updateHyperVars.h:21: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_updateMeansVars.cpp -o NMix_updateMeansVars.o In file included from NMix_updateMeansVars.cpp:12: In file included from ./NMix_updateMeansVars.h:27: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d NMix_updateMeansVars.cpp:477:38: warning: unused variable 'log_detsP' [-Wunused-variable] 477 | static double *QP, *SigmaP, *LiP, *log_detsP, *muP, *mixSSmP, *dP; | ^~~~~~~~~ 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_updateWeights.cpp -o NMix_updateWeights.o In file included from NMix_updateWeights.cpp:11: In file included from ./NMix_updateWeights.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NMix_update_sum_Ir_and_sum_Pr_y.cpp -o NMix_update_sum_Ir_and_sum_Pr_y.o In file included from NMix_update_sum_Ir_and_sum_Pr_y.cpp:11: In file included from ./NMix_update_sum_Ir_and_sum_Pr_y.h:23: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Rand_RotationMatrix.cpp -o Rand_RotationMatrix.o In file included from Rand_RotationMatrix.cpp:11: In file included from ./Rand_RotationMatrix.h:22: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Rand_SamplePair.cpp -o Rand_SamplePair.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Stat_BLA.cpp -o Stat_BLA.o In file included from Stat_BLA.cpp:13: In file included from ./Stat_BLA.h:27: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Stat_Quantile.cpp -o Stat_Quantile.o In file included from Stat_Quantile.cpp:13: In file included from ./Stat_BLA.h:27: In file included from ./AK_BLAS.h:100: ./AK_Basic.h:576:32: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:576:32: note: use function 'std::abs' instead 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:576:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 576 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:584:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^ ./AK_Basic.h:584:30: note: use function 'std::abs' instead 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ^~~~ | std::abs ./AK_Basic.h:584:30: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 584 | Rprintf((char*)("%g, "), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d ./AK_Basic.h:587:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^ ./AK_Basic.h:587:61: note: use function 'std::abs' instead 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ^~~~ | std::abs ./AK_Basic.h:587:61: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 587 | Rprintf((char*)("%g), nrow=%d, ncol=%d, byrow=TRUE);\n"), fabs((int)(*aP)) < AK_Basic::_ZERO ? 0 : *aP, nrow, ncol); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d 6 warnings generated. clang++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o mixAK.so 00mixAK_init.o AK_BLAS.o AK_BSTAT.o AK_LAPACK.o AK_Utils.o Dist_Dirichlet.o Dist_Discrete.o Dist_MVN.o Dist_MVT.o Dist_TMVN.o Dist_TNorm.o Dist_TmixMVN.o Dist_TmixNorm.o Dist_Wishart.o Dist_mixMVN.o Dist_mixNorm.o GLMM_Deviance.o GLMM_Deviance2.o GLMM_Deviance2Pr_obs.o GLMM_MCMC.o GLMM_NMixRelabel.o GLMM_PED.o GLMM_copy_shift_eta_meanY_Zresp.o GLMM_create_SZitZiS.o GLMM_create_SZitZiS_4longitDA.o GLMM_create_XtX.o GLMM_create_ZS.o GLMM_create_ZiS.o GLMM_dY_meanY.o GLMM_eta_fixed_random2eta_meanY.o GLMM_fitted_Bernoulli_Logit.o GLMM_fitted_Poisson_Log.o GLMM_linear_predictors.o GLMM_longitDA.o GLMM_longitDA2.o GLMM_longitPred_nmix_gauss.o GLMM_newData.o GLMM_scale_ZitZi.o GLMM_updateFixEf.o GLMM_updateHyperVars_eps.o GLMM_updateRanEf.o GLMM_updateRanEf_QR.o GLMM_updateVars_eps.o LogLik_Bernoulli_Logit.o LogLik_Gauss_Identity.o LogLik_Poisson_Log.o MCMC_Moments_NormalApprox.o MCMC_Moments_NormalApprox_QR.o MCMC_loglik_Zwork1_stres.o Misc_findIndexOfPermutation.o Misc_generatePermutations.o NMix_ChainsDerived.o NMix_Deviance.o NMix_MCMC.o NMix_NMixRelabel.o NMix_PED.o NMix_PED_coreMulti.o NMix_PED_coreUni.o NMix_PosterMeanMixParam.o NMix_Pr_y_and_cum_Pr_y.o NMix_PredCDFMarg.o NMix_PredCondDensCDFMarg.o NMix_PredCondDensJoint2.o NMix_PredDA.o NMix_PredDensJoint2.o NMix_PredDensMarg.o NMix_RJMCMC_aux_vector_u.o NMix_RJMCMC_logJacLambdaVSigma.o NMix_RJMCMC_logJac_part3.o NMix_RJMCMCbirth.o NMix_RJMCMCcombine.o NMix_RJMCMCdeath.o NMix_RJMCMCsplit.o NMix_Stephens_costMatrix.o NMix_Stephens_step1.o NMix_Stephens_step2_search.o NMix_Stephens_step2_transport.o NMix_Utils.o NMix_fullCondMean_WeightsMeansVars.o NMix_orderComp.o NMix_reorder_Pr_y.o NMix_sum_Ir.o NMix_updateAlloc.o NMix_updateCensObs.o NMix_updateHyperVars.o NMix_updateMeansVars.o NMix_updateWeights.o NMix_update_sum_Ir_and_sum_Pr_y.o Rand_RotationMatrix.o Rand_SamplePair.o Stat_BLA.o Stat_Quantile.o -llapack -L/home/hornik/tmp/R/lib -lRblas -L/usr/lib/llvm-17/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/mixAK.Rcheck/00LOCK-mixAK/00new/mixAK/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 (mixAK)