* installing *source* package ‘approxOT’ ... ** package ‘approxOT’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-14 (GCC) 14.2.0’ using C++ compiler: ‘g++-14 (GCC) 14.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-Strict/approxOT/src' g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 -c cost.cpp -o cost.o g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 -c hilbert_cgal.cpp -o hilbert_cgal.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/property_map/vector_property_map.hpp:14, from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/property_map.h:18, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/Spatial_sort_traits_adapter_d.h:18, from ../inst/include/hilbert_cgal.h:7, from hilbert_cgal.cpp:1: /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/gcc14/include/c++/14.2.0/bits/std_thread.h:43, from /usr/local/gcc14/include/c++/14.2.0/thread:45, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/config.h:425, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/basic.h:21, from ../inst/include/hilbert_cgal.h:4: /usr/local/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 -c hilbert_projection.cpp -o hilbert_projection.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/property_map/vector_property_map.hpp:14, from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/property_map.h:18, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/Spatial_sort_traits_adapter_d.h:18, from ../inst/include/hilbert_cgal.h:7, from hilbert_projection.cpp:2: /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/gcc14/include/c++/14.2.0/bits/std_thread.h:43, from /usr/local/gcc14/include/c++/14.2.0/thread:45, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/config.h:425, from /data/gannet/ripley/R/test-dev/RcppCGAL/include/CGAL/basic.h:21, from ../inst/include/hilbert_cgal.h:4: /usr/local/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | 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/gcc14/include/c++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 -c networkflow.cpp -o networkflow.o In file included from ../inst/include/networkflow.h:8, from networkflow.cpp:1: ../inst/include/network_simplex_simple.h:486: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 486 | #pragma omp parallel ../inst/include/network_simplex_simple.h:494: warning: ignoring '#pragma omp for' [-Wunknown-pragmas] 494 | #pragma omp for schedule(static, bs) lastprivate(e) ../inst/include/network_simplex_simple.h:896: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 896 | #pragma omp parallel for schedule(static) ../inst/include/network_simplex_simple.h:1450: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 1450 | #pragma omp parallel for ../inst/include/network_simplex_simple.h:1470: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 1470 | #pragma omp parallel for networkflow.cpp: In function 'void trans_networkflow(const Eigen::VectorXd&, const Eigen::VectorXd&, const matrix&, matrix&, int, bool, int)': networkflow.cpp:50:10: warning: unused variable 'resultdist' [-Wunused-variable] 50 | double resultdist = net.totalCost(); | ^~~~~~~~~~ ../inst/include/network_simplex_simple.h: In member function 'bool lemon::NetworkSimplexSimple::BlockSearchPivotRule::findEnteringArc() [with GR = lemon::FullBipartiteDigraph; V = double; C = double; ArcsType = long long int]': ../inst/include/network_simplex_simple.h:513:13: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized] 513 | _next_arc = e; | ~~~~~~~~~~^~~ ../inst/include/network_simplex_simple.h:484:18: note: 'e' was declared here 484 | ArcsType e; | ^ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 -c round_feasible.cpp -o round_feasible.o gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppCGAL/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -I../inst/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 shortsimplex.c -o shortsimplex.o shortsimplex.c: In function 'init_shortlist': shortsimplex.c:318:26: error: implicit declaration of function 'Calloc'; did you mean 'calloc'? [-Wimplicit-function-declaration] 318 | costfromrow = (double *) Calloc((long) n, double); | ^~~~~~ | calloc shortsimplex.c:318:43: error: expected expression before 'double' 318 | costfromrow = (double *) Calloc((long) n, double); | ^~~~~~ shortsimplex.c:319:39: error: expected expression before 'int' 319 | indfromrow = (int *) Calloc((long) n, int); | ^~~ shortsimplex.c:338:1: error: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] 338 | Free(costfromrow); | ^~~~ | free shortsimplex.c: In function 'init_assignment': shortsimplex.c:440:34: error: expected expression before 'int' 440 | aleft = (int *) Calloc((long) m, int); | ^~~ shortsimplex.c:441:34: error: expected expression before 'int' 441 | bleft = (int *) Calloc((long) n, int); | ^~~ shortsimplex.c:442:34: error: expected expression before 'int' 442 | adone = (int *) Calloc((long) m, int); | ^~~ shortsimplex.c:443:34: error: expected expression before 'int' 443 | bdone = (int *) Calloc((long) n, int); | ^~~ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:195: shortsimplex.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-Strict/approxOT/src' ERROR: compilation failed for package ‘approxOT’ * removing ‘/data/gannet/ripley/R/packages/tests-strict/Libs/approxOT-lib/approxOT’ Command exited with non-zero status 1 Time 2:57.81, 90.22 + 7.08