* installing *source* package ‘stochvolTMB’ ... ** package ‘stochvolTMB’ successfully unpacked and MD5 sums checked ** using staged installation ** libs make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/stochvolTMB/src' /data/gannet/ripley/R/R-devel/bin/Rscript --vanilla -e "TMB::compile('stochvolTMB.cpp', '-O0 -g', safebounds=FALSE, safeunload=FALSE)" using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[3]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/stochvolTMB/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/TMB/include" -I"/data/gannet/ripley/R/test-dev/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_stochvolTMB -DCPPAD_FRAMEWORK -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/TMB/include' -I/usr/local/include -fpic -O0 -g -DR_NO_REMAP -c stochvolTMB.cpp -o stochvolTMB.o stochvolTMB.cpp: In member function 'Type objective_function::operator()()': stochvolTMB.cpp:128:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 128 | error("This distribution is not implementet!"); | ^~~~~ stochvolTMB.cpp:128:7: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) stochvolTMB.cpp: In instantiation of 'Type objective_function::operator()() [with Type = CppAD::AD]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1308:6: required from here stochvolTMB.cpp:128:12: error: 'error' was not declared in this scope; did you mean 'perror'? 128 | error("This distribution is not implementet!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror stochvolTMB.cpp: In instantiation of 'Type objective_function::operator()() [with Type = double]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here stochvolTMB.cpp:128:12: error: 'error' was not declared in this scope; did you mean 'perror'? 128 | error("This distribution is not implementet!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror stochvolTMB.cpp: In instantiation of 'Type objective_function::operator()() [with Type = CppAD::AD >]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:913:29: required from 'Type objective_function::evalUserTemplate() [with Type = CppAD::AD >]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2112:26: required from here stochvolTMB.cpp:128:12: error: 'error' was not declared in this scope; did you mean 'perror'? 128 | error("This distribution is not implementet!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror stochvolTMB.cpp: In instantiation of 'Type objective_function::operator()() [with Type = CppAD::AD > >]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:913:29: required from 'Type objective_function::evalUserTemplate() [with Type = CppAD::AD > >]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2361:28: required from here stochvolTMB.cpp:128:12: error: 'error' was not declared in this scope; did you mean 'perror'? 128 | error("This distribution is not implementet!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror make[3]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: stochvolTMB.o] Error 1 make[3]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/stochvolTMB/src' Error in TMB::compile("stochvolTMB.cpp", "-O0 -g", safebounds = FALSE, : Compilation failed Execution halted make[2]: *** [Makefile:4: stochvolTMB.so] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/stochvolTMB/src' ERROR: compilation failed for package ‘stochvolTMB’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/stochvolTMB-lib/stochvolTMB’ Command exited with non-zero status 1 Time 0:35.11, 32.17 + 2.03