* installing *source* package ‘tramME’ ... ** package ‘tramME’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/tramME/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' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c init.cpp -o init.o 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' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c tramTMB.cpp -o tramTMB.o tramTMB.cpp: In function 'Type cdf(Type, int)': tramTMB.cpp:58:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 58 | error("Unknown error distribution!"); | ^~~~~ tramTMB.cpp:58:7: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) tramTMB.cpp: In function 'Type ldens(Type, int)': tramTMB.cpp:84:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 84 | error("Unknown error distribution!"); | ^~~~~ tramTMB.cpp: In member function 'Type objective_function::operator()()': tramTMB.cpp:349:9: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 349 | error("Unknown scale!"); | ^~~~~ tramTMB.cpp:365:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 365 | error("Unknown output type!"); | ^~~~~ tramTMB.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 tramTMB.cpp:349:14: error: 'error' was not declared in this scope; did you mean 'perror'? 349 | error("Unknown scale!"); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp:365:12: error: 'error' was not declared in this scope; did you mean 'perror'? 365 | error("Unknown output type!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.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 tramTMB.cpp:349:14: error: 'error' was not declared in this scope; did you mean 'perror'? 349 | error("Unknown scale!"); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp:365:12: error: 'error' was not declared in this scope; did you mean 'perror'? 365 | error("Unknown output type!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type cdf(Type, int) [with Type = CppAD::AD]': tramTMB.cpp:230:19: required from 'Type objective_function::operator()() [with Type = CppAD::AD]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1308:6: required from here tramTMB.cpp:58:12: error: 'error' was not declared in this scope; did you mean 'perror'? 58 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type ldens(Type, int) [with Type = CppAD::AD]': tramTMB.cpp:264:20: required from 'Type objective_function::operator()() [with Type = CppAD::AD]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1308:6: required from here tramTMB.cpp:84:12: error: 'error' was not declared in this scope; did you mean 'perror'? 84 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type cdf(Type, int) [with Type = double]': tramTMB.cpp:230:19: required from 'Type objective_function::operator()() [with Type = double]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here tramTMB.cpp:58:12: error: 'error' was not declared in this scope; did you mean 'perror'? 58 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type ldens(Type, int) [with Type = double]': tramTMB.cpp:264:20: required from 'Type objective_function::operator()() [with Type = double]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here tramTMB.cpp:84:12: error: 'error' was not declared in this scope; did you mean 'perror'? 84 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.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 tramTMB.cpp:349:14: error: 'error' was not declared in this scope; did you mean 'perror'? 349 | error("Unknown scale!"); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp:365:12: error: 'error' was not declared in this scope; did you mean 'perror'? 365 | error("Unknown output type!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.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 tramTMB.cpp:349:14: error: 'error' was not declared in this scope; did you mean 'perror'? 349 | error("Unknown scale!"); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp:365:12: error: 'error' was not declared in this scope; did you mean 'perror'? 365 | error("Unknown output type!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type cdf(Type, int) [with Type = CppAD::AD >]': tramTMB.cpp:230:19: required from '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 tramTMB.cpp:58:12: error: 'error' was not declared in this scope; did you mean 'perror'? 58 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type ldens(Type, int) [with Type = CppAD::AD >]': tramTMB.cpp:264:20: required from '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 tramTMB.cpp:84:12: error: 'error' was not declared in this scope; did you mean 'perror'? 84 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type cdf(Type, int) [with Type = CppAD::AD > >]': tramTMB.cpp:230:19: required from '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 tramTMB.cpp:58:12: error: 'error' was not declared in this scope; did you mean 'perror'? 58 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In instantiation of 'Type ldens(Type, int) [with Type = CppAD::AD > >]': tramTMB.cpp:264:20: required from '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 tramTMB.cpp:84:12: error: 'error' was not declared in this scope; did you mean 'perror'? 84 | error("Unknown error distribution!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | perror tramTMB.cpp: In member function 'Type objective_function::operator()() [with Type = CppAD::AD]': tramTMB.cpp:369:1: warning: control reaches end of non-void function [-Wreturn-type] 369 | } | ^ tramTMB.cpp: In member function 'Type objective_function::operator()() [with Type = double]': tramTMB.cpp:369:1: warning: control reaches end of non-void function [-Wreturn-type] 369 | } | ^ tramTMB.cpp: In member function 'Type objective_function::operator()() [with Type = CppAD::AD >]': tramTMB.cpp:369:1: warning: control reaches end of non-void function [-Wreturn-type] 369 | } | ^ tramTMB.cpp: In member function 'Type objective_function::operator()() [with Type = CppAD::AD > >]': tramTMB.cpp:369:1: warning: control reaches end of non-void function [-Wreturn-type] 369 | } | ^ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: tramTMB.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/tramME/src' ERROR: compilation failed for package ‘tramME’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/tramME-lib/tramME’ Command exited with non-zero status 1 Time 0:59.70, 54.44 + 3.28