* installing *source* package ‘move’ ... ** package ‘move’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/move/src' gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c bgbVar.c -o bgbVar.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -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 bgbVarRcpp.cpp -o bgbVarRcpp.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c bgb_bbmm.c -o bgb_bbmm.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -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 emd.cpp -o emd.o In file included from emd_hat_impl.h:8, from emd_hat.h:60, from emd.cpp:8: min_cost_flow.h: In member function 'NUM_T min_cost_flow::operator()(std::vector&, const std::vector > >&, std::vector > >&)': min_cost_flow.h:90:32: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 90 | if(e.size()!=c.size()) error("internal emd error1"); | ^~~~~ min_cost_flow.h:90:32: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) min_cost_flow.h:91:32: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 91 | if(x.size()!=c.size()) error("internal emd error2"); | ^~~~~ min_cost_flow.h:172:34: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 172 | if(from==to) error("internal emd error3"); | ^~~~~ min_cost_flow.h:192:34: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 192 | if(from==to) error("internal emd error4"); | ^~~~~ min_cost_flow.h: In member function 'void min_cost_flow::compute_shortest_path(std::vector&, std::vector&, NODE_T, std::vector > >&, std::vector > >&, const std::vector&, NODE_T&)': min_cost_flow.h:325:42: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 325 | if (it->_reduced_cost<0) error("emd internal error5"); | ^~~~~ min_cost_flow.h:336:46: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 336 | if (it->_reduced_cost<0) error("emd internal error6"); | ^~~~~ emd_hat_impl.h: In member function 'NUM_T emd_hat_gd_metric::operator()(const std::vector&, const std::vector&, const std::vector >&, NUM_T, std::vector >*)': emd_hat_impl.h:37:48: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 37 | if(!( (F!=NULL) || (FLOW_TYPE==NO_FLOW) )) error("emd internal error7"); | ^~~~~ emd_hat_impl.h: In member function 'NUM_T emd_hat_impl_integral_types::operator()(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector >&, NUM_T, std::vector >*)': emd_hat_impl.h:101:22: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 101 | if(Qc.size()!=N) error("emd internal error8"); | ^~~~~ emd_hat_impl.h:155:31: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 155 | if(C[i][j]<0) error("emd internal error9"); | ^~~~~ emd_hat_impl.h:316:37: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 316 | if(!(i::NUM_T emd_hat_impl::operator()(const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector >&, NUM_T, std::vector >*)': emd_hat_impl.h:414:36: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 414 | if(!(sizeof(CONVERT_TO_T)>=8)) error("emd internal error 12"); | ^~~~~ In file included from emd.cpp:9: emd_hat_signatures_interface.h: In function 'NUM_T emd_hat_signature_interface(signature_tt*, signature_tt*, NUM_T (*)(feature_tt*, feature_tt*), NUM_T)': emd_hat_signatures_interface.h:76:24: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 76 | if(dist<0) error("emd internal error"); | ^~~~~ emd_hat_signatures_interface.h: In instantiation of 'NUM_T emd_hat_signature_interface(signature_tt*, signature_tt*, NUM_T (*)(feature_tt*, feature_tt*), NUM_T) [with NUM_T = double]': emd.cpp:77:46: required from here emd_hat_signatures_interface.h:76:29: error: 'error' was not declared in this scope; did you mean 'perror'? 76 | if(dist<0) error("emd internal error"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ | perror emd_hat_impl.h: In instantiation of 'NUM_T emd_hat_gd_metric::operator()(const std::vector&, const std::vector&, const std::vector >&, NUM_T, std::vector >*) [with NUM_T = double; FLOW_TYPE_T FLOW_TYPE = NO_FLOW]': emd.cpp:115:38: required from here emd_hat_impl.h:37:53: error: 'error' was not declared in this scope; did you mean 'perror'? 37 | if(!( (F!=NULL) || (FLOW_TYPE==NO_FLOW) )) error("emd internal error7"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: emd.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/move/src' ERROR: compilation failed for package ‘move’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/move-lib/move’ Command exited with non-zero status 1 Time 0:03.88, 3.13 + 0.45