* installing *source* package ‘bayesSurv’ ... ** package ‘bayesSurv’ 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/bayesSurv/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 00bayesSurv_init.cpp -o 00bayesSurv_init.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 AK_BLAS_LAPACK.cpp -o AK_BLAS_LAPACK.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 ARS2.cpp -o ARS2.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 GMRF.cpp -o GMRF.o GMRF.cpp: In function 'void GMRF::dGMRF_inputArgs(double*, double*, double*, const double*, const double*, const double*, const double*, const int*, const int*, const int*, const int*, double*)': GMRF.cpp:705:17: warning: variable 'nx_nc' set but not used [-Wunused-but-set-variable] 705 | static int j, nx_nc, info; | ^~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 GMRF_Gspline.cpp -o GMRF_Gspline.o GMRF_Gspline.cpp: In function 'void GMRF_Gspline::mcmc_GMRF_Gspline(int*, double*, double*, double*, int*, const int*, const int*, const double*, const double*, const int*, const int*, const int*, const int*, const int*, const int*, const int*)': GMRF_Gspline.cpp:879:11: warning: variable 'writeAll' set but not used [-Wunused-but-set-variable] 879 | int writeAll = 0; | ^~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 GMRF_Gspline_Util.cpp -o GMRF_Gspline_Util.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline.cpp -o Gspline.o Gspline.cpp: In member function 'void Gspline::print() const': Gspline.cpp:1052:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1052 | for (j = 0; j < _dim-1; j++) Rprintf("%g, ", _penalty[j]); Rprintf("%g\n", _penalty[_dim-1]); | ^~~ Gspline.cpp:1052:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1052 | for (j = 0; j < _dim-1; j++) Rprintf("%g, ", _penalty[j]); Rprintf("%g\n", _penalty[_dim-1]); | ^~~~~~~ Gspline.cpp:1079:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1079 | for (j = 0; j < _dim-1; j++) Rprintf("%d, ", _k_overrelax_scale[j]); Rprintf("%d\n", _k_overrelax_scale[_dim-1]); | ^~~ Gspline.cpp:1079:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1079 | for (j = 0; j < _dim-1; j++) Rprintf("%d, ", _k_overrelax_scale[j]); Rprintf("%d\n", _k_overrelax_scale[_dim-1]); | ^~~~~~~ Gspline.cpp:1081:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1081 | for (j = 0; j < _dim-1; j++) Rprintf("%d, ", _k_overrelax_sigma[j]); Rprintf("%d\n", _k_overrelax_sigma[_dim-1]); | ^~~ Gspline.cpp:1081:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1081 | for (j = 0; j < _dim-1; j++) Rprintf("%d, ", _k_overrelax_sigma[j]); Rprintf("%d\n", _k_overrelax_sigma[_dim-1]); | ^~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline_update_Intcpt.cpp -o Gspline_update_Intcpt.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline_update_Scale.cpp -o Gspline_update_Scale.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline_update_a.cpp -o Gspline_update_a.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline_update_gamma.cpp -o Gspline_update_gamma.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline_update_lambda.cpp -o Gspline_update_lambda.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Gspline_update_sigma.cpp -o Gspline_update_sigma.o Gspline_update_sigma.cpp: In member function 'void Gspline::update_sigma(const double*, const int*, const int*, const int*)': Gspline_update_sigma.cpp:22:49: warning: variable 'itmp' set but not used [-Wunused-but-set-variable] 22 | static int j, j_, iter_nr, err_nr, overrelax, itmp; | ^~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 List.cpp -o List.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 MHblocks.cpp -o MHblocks.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 MHproposal.cpp -o MHproposal.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Mvtdist3.cpp -o Mvtdist3.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 Slice_sampler2.cpp -o Slice_sampler2.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 arms.cpp -o arms.o arms.cpp: In function 'void invert(double, ENVELOPE*, POINT*)': arms.cpp:480:35: error: 'error' was not declared in this scope; did you mean 'perror'? 480 | if ((p->x < xl) || (p->x > xr)) error("arms error 1\n"); | ^~~~~ | perror arms.cpp: In function 'int update(ENVELOPE*, POINT*, FUNBAG*, METROPOLIS*)': arms.cpp:635:5: error: 'error' was not declared in this scope; did you mean 'perror'? 635 | error("arms error 10"); | ^~~~~ | perror arms.cpp: In function 'int meet(POINT*, ENVELOPE*, METROPOLIS*)': arms.cpp:736:5: error: 'error' was not declared in this scope; did you mean 'perror'? 736 | error("arms error 30"); | ^~~~~ | perror arms.cpp:821:5: error: 'error' was not declared in this scope; did you mean 'perror'? 821 | error("arms error 31"); | ^~~~~ | perror arms.cpp:827:5: error: 'error' was not declared in this scope; did you mean 'perror'? 827 | error("arms error 32"); | ^~~~~ | perror arms.cpp: In function 'double area(POINT*)': arms.cpp:845:5: error: 'error' was not declared in this scope; did you mean 'perror'? 845 | error("arms error 1"); | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: arms.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/bayesSurv/src' ERROR: compilation failed for package ‘bayesSurv’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/bayesSurv-lib/bayesSurv’ Command exited with non-zero status 1 Time 0:50.23, 42.76 + 3.65