* installing *source* package ‘mrfse’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 19.1.1 (1)’ clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c array.cpp -o array.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c combination.cpp -o combination.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c mrfse.cpp -o mrfse.o mrfse.cpp:143:9: warning: variable 'accepted' set but not used [-Wunused-but-set-variable] 143 | int accepted = 0; | ^ mrfse.cpp:288:16: warning: unused variable 'j' [-Wunused-variable] 288 | int i = 0, j = 0; | ^ mrfse.cpp:308:9: warning: unused variable 'n' [-Wunused-variable] 308 | int n = aa.size(); | ^ mrfse.cpp:334:9: warning: unused variable 'n' [-Wunused-variable] 334 | int n = aa.size(); | ^ 4 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c mrfse_ci.cpp -o mrfse_ci.o mrfse_ci.cpp:139:16: warning: unused variable 'j' [-Wunused-variable] 139 | int i = 0, j = 0; | ^ mrfse_ci.cpp:295:10: warning: unused variable 'e' [-Wunused-variable] 295 | int e = 3 + b[i][j]; | ^ mrfse_ci.cpp:309:10: warning: unused variable 'e' [-Wunused-variable] 309 | int e = c[i][j] + 34; | ^ mrfse_ci.cpp:320:9: warning: unused variable 'n' [-Wunused-variable] 320 | int n = aa.size(); | ^ mrfse_ci.cpp:23:13: warning: unused variable 'use_kl' [-Wunused-variable] 23 | static bool use_kl; | ^~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c product.cpp -o product.o product.cpp:66:9: error: use of undeclared identifier 'error' 66 | error("malloc returned NULL!\n"); | ^ 1 error generated. make: *** [/home/hornik/tmp/R-d-clang-19/etc/Makeconf:202: product.o] Error 1 ERROR: compilation failed for package ‘mrfse’ * removing ‘/srv/hornik/tmp/CRAN_pretest/mrfse.Rcheck/mrfse’