* installing *source* package ‘MBA’ ... ** package ‘MBA’ 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/MBA/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/BH/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 MBA.cpp -o MBA.o In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from /data/gannet/ripley/R/test-dev/BH/include/boost/shared_ptr.hpp:17, from include/MBAdata.h:38, from include/MBA.h:39, from MBA.cpp:50: /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~ In file included from /usr/local/gcc13/include/c++/13.2.0/memory:78, from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:27: /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() | ^~~~~~~~ /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~~~~~~~ /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr & r ) | ^~~~~~~~ /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr && r ) | ^~~~~~~~ /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~~~~~~~ /usr/local/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ MBA.cpp: In member function 'bool MBA::adjustForBaseSurface()': MBA.cpp:86:13: error: 'error' was not declared in this scope; did you mean 'perror'? 86 | error("c++ error: ERROR, not support for this type of base surface."); | ^~~~~ | perror MBA.cpp: In static member function 'static void MBA::smoothMatrix(GenMatrixType&, int)': MBA.cpp:143:7: error: 'error' was not declared in this scope; did you mean 'perror'? 143 | error("c++ error: Number of smoothing iterations must be pair."); | ^~~~~ | perror MBA.cpp: In member function 'void MBA::checkError() const': MBA.cpp:276:9: error: 'error' was not declared in this scope; did you mean 'perror'? 276 | error("c++ error: Number of smoothing iterations must be pair."); | ^~~~~ | perror MBA.cpp:315:12: warning: unused variable 'perc' [-Wunused-variable] 315 | double perc = maxErr/zdiff*100.0; | ^~~~ MBA.cpp:320:12: warning: unused variable 'rms_err' [-Wunused-variable] 320 | double rms_err = std::sqrt(sum_err2/(double)noPoints); | ^~~~~~~ In file included from MBA.cpp:51: include/UCBsplines.h: At global scope: include/UCBsplines.h:151:17: warning: 'UCBspl::tensor_BdB' defined but not used [-Wunused-variable] 151 | static double tensor_BdB[3][3] = { | ^~~~~~~~~~ include/UCBsplines.h:143:17: warning: 'UCBspl::tensor_dBB' defined but not used [-Wunused-variable] 143 | static double tensor_dBB[3][3] = { | ^~~~~~~~~~ include/UCBsplines.h:132:17: warning: 'UCBspl::tensor_BB' defined but not used [-Wunused-variable] 132 | static double tensor_BB[3][3] = { | ^~~~~~~~~ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: MBA.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/MBA/src' ERROR: compilation failed for package ‘MBA’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/MBA-lib/MBA’ Command exited with non-zero status 1 Time 0:03.83, 2.86 + 0.37