* installing *source* package 'LOMAR' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -DBOOST_DISABLE_THREADS -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -DBOOST_DISABLE_THREADS -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c diag.cpp -o diag.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/advance.hpp:12, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/next_prior.hpp:24, from ./tdautils/ripsL2.h:3, from diag.cpp:9: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/property_map/vector_property_map.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/property_map/property_map.hpp:598, from ./utilities/property-maps.h:6, from ./topology/complex-traits.h:6, from ./topology/filtration.h:7, from ./tdautils/ripsL2.h:6: D:/RCompile/CRANpkg/lib/4.5/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 D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/memory:78, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:27: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/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 > | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/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() | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/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() | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/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 ) | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/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 ) | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': D:/RCompile/CRANpkg/lib/4.5/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 ); | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/bind/mem_fn.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/bind/bind.hpp:26, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/multi_index/detail/ord_index_impl.hpp:82, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/multi_index/ordered_index.hpp:17, from ./topology/filtration.h:14: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/get_pointer.hpp: At global scope: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/get_pointer.hpp:48:40: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | template T * get_pointer(std::auto_ptr const& p) | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from ./topology/dynamic-persistence.h:332, from ./tdautils/ripsL2.h:8: ./topology/dynamic-persistence.hpp: In member function 'bool DynamicPersistenceTrails::transpose(iterator, const DimensionFunctor&, Visitor)': ./topology/dynamic-persistence.hpp:60:73: warning: typedef 'TrailIterator' locally defined but not used [-Wunused-local-typedefs] 60 | typedef typename Element::Trail::iterator TrailIterator; | ^~~~~~~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/scoped_ptr.hpp:13, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/graph/adjacency_list.hpp:22, from ./topology/persistence-diagram.hpp:143, from ./topology/persistence-diagram.h:176, from ./tdautils/ripsL2.h:9: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/scoped_ptr.hpp: At global scope: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/scoped_ptr.hpp:75:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | explicit scoped_ptr( std::auto_ptr p ) BOOST_SP_NOEXCEPT : px( p.release() ) | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from diag.cpp:26: ./kde.h: In instantiation of 'RealVector kde(const RealMatrix&, const RealMatrix&, unsigned int, unsigned int, unsigned int, double, const std::string&, const RealVector&, bool, const Print&) [with RealVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; RealMatrix = Rcpp::Matrix<14>; Print = void(const char*, ...); std::string = std::__cxx11::basic_string]': diag.cpp:166:13: required from here ./kde.h:21:16: warning: unused variable 'pi' [-Wunused-variable] 21 | const double pi = 3.141592653589793; | ^~ In file included from diag.cpp:13: ./tdautils/gridUtils.h: In instantiation of 'void addOddTets(int, int, int, int, int, VectorList&) [with VectorList = std::vector >]': ./tdautils/gridUtils.h:315:14: required from 'void addAllTetrahedra(int, int, int, int, int, VectorList&) [with VectorList = std::vector >]' ./tdautils/gridUtils.h:363:20: required from 'void simplicesFromGrid(const DimensionVector&, int, VectorList&) [with DimensionVector = Rcpp::Vector<13>; VectorList = std::vector >]' ./grid.h:90:22: required from 'void gridFiltration(const RealVector&, const DimensionVector&, int, const std::string&, bool, const Print&, std::vector&, std::vector&) [with RealVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; DimensionVector = Rcpp::Vector<13>; Print = void(const char*, ...); VertexVector = std::vector; std::string = std::__cxx11::basic_string]' diag.cpp:68:17: required from here ./tdautils/gridUtils.h:183:13: warning: unused variable 'value' [-Wunused-variable] 183 | double value, value2; // max of value and value 2 is the fcn value. | ^~~~~ ./tdautils/gridUtils.h:183:20: warning: unused variable 'value2' [-Wunused-variable] 183 | double value, value2; // max of value and value 2 is the fcn value. | ^~~~~~ In file included from D:/RCompile/recent/R/include/R.h:73, from diag.cpp:2: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h: In function 'void Rcpp::Rf_warning(const char*, Args&& ...) [with Args = {const char*}]': D:/RCompile/recent/R/include/R_ext/Error.h:100:17: warning: infinite recursion detected [-Winfinite-recursion] 100 | #define warning Rf_warning | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h:46:13: note: in expansion of macro 'warning' 46 | inline void warning(const char* fmt, Args&&... args ) { | ^~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions.h:180, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:130, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from diag.cpp:6: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h:47:15: note: recursive call 47 | Rf_warning("%s", tfm::format(fmt, std::forward(args)... ).c_str()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o LOMAR.dll tmp.def RcppExports.o diag.o -lgmp -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-LOMAR/00new/LOMAR/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (LOMAR)