* installing *source* package ‘nabor’ ...
** package ‘nabor’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 18.1.0rc’
using C++ compiler: ‘clang version 18.1.0rc’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/nabor/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c WKNN.cpp -o WKNN.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c brute_force_cpu.cpp -o brute_force_cpu.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:36:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  239 |   int count = 0;
      |       ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c init.c -o init.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c kdtree_cpu.cpp -o kdtree_cpu.o
In file included from brute_force_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from brute_force_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<float> (const float &, const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<float> (const float &, const float &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<float, float>, const Block<const Matrix<float, -1, -1, 0, -1, -1>, -1, -1, false>, const Matrix<float, -1, 1, 0, -1, 1>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
./nabo_private.h:71:14: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>>' requested here
   71 |                 return (v0 - v1).squaredNorm();
      |                            ^
brute_force_cpu.cpp:89:18: note: in instantiation of function template specialization 'Nabo::dist2<float, Eigen::Block<const Eigen::Matrix<float, -1, -1>>, Eigen::Matrix<float, -1, 1>>' requested here
   89 |                                 const T dist(dist2<T>(this->cloud.block(0,i,dim,1), q));
      |                                              ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<float> (const float &, const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from brute_force_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_abs2_op<float> (const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_abs2_op<float> (const float &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<float>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_abs2_op<float>, const CwiseBinaryOp<scalar_difference_op<float, float>, const Block<const Matrix<float, -1, -1, 0, -1, -1>, -1, -1, false>, const Matrix<float, -1, 1, 0, -1, 1>>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<float>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:98:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<float>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>>>' requested here
   98 |   return numext::real((*this).cwiseAbs2().sum());
      |                               ^
./nabo_private.h:71:20: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Block<const Eigen::Matrix<float, -1, -1>>, const Eigen::Matrix<float, -1, 1>>>::squaredNorm' requested here
   71 |                 return (v0 - v1).squaredNorm();
      |                                  ^
brute_force_cpu.cpp:89:18: note: in instantiation of function template specialization 'Nabo::dist2<float, Eigen::Block<const Eigen::Matrix<float, -1, -1>>, Eigen::Matrix<float, -1, 1>>' requested here
   89 |                                 const T dist(dist2<T>(this->cloud.block(0,i,dim,1), q));
      |                                              ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs2_op<float> (const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from brute_force_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, double>, const Block<const Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>, const Matrix<double, -1, 1, 0, -1, 1>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
./nabo_private.h:71:14: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>>' requested here
   71 |                 return (v0 - v1).squaredNorm();
      |                            ^
brute_force_cpu.cpp:89:18: note: in instantiation of function template specialization 'Nabo::dist2<double, Eigen::Block<const Eigen::Matrix<double, -1, -1>>, Eigen::Matrix<double, -1, 1>>' requested here
   89 |                                 const T dist(dist2<T>(this->cloud.block(0,i,dim,1), q));
      |                                              ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from brute_force_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_abs2_op<double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const Block<const Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:98:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>>>' requested here
   98 |   return numext::real((*this).cwiseAbs2().sum());
      |                               ^
./nabo_private.h:71:20: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, 1>>>::squaredNorm' requested here
   71 |                 return (v0 - v1).squaredNorm();
      |                                  ^
brute_force_cpu.cpp:89:18: note: in instantiation of function template specialization 'Nabo::dist2<double, Eigen::Block<const Eigen::Matrix<double, -1, -1>>, Eigen::Matrix<double, -1, 1>>' requested here
   89 |                                 const T dist(dist2<T>(this->cloud.block(0,i,dim,1), q));
      |                                              ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<float> (const float &, const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<float> (const float &, const float &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, -1, 1>, const Eigen::Matrix<float, -1, 1>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<float, float>, const Matrix<float, -1, 1, 0, -1, 1>, const Matrix<float, -1, 1, 0, -1, 1>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, -1, 1>, const Eigen::Matrix<float, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
kdtree_cpu.cpp:134:47: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, -1, 1>, const Eigen::Matrix<float, -1, 1>>' requested here
  134 |                 const unsigned cutDim = argMax<T>(maxValues - minValues);
      |                                                             ^
kdtree_cpu.cpp:435:18: note: in instantiation of member function 'Nabo::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<float, Nabo::IndexHeapSTL<int, float>>::buildNodes' requested here
  435 |         template struct KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<float,IndexHeapSTL<int,float> >;
      |                         ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<float> (const float &, const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_min_op<float> (const float &, const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_min_op<float> (const float &, const float &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_min_op<float>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_min_op<float, float>, const ArrayWrapper<const Matrix<float, -1, 1, 0, -1, 1>>, const ArrayWrapper<const Matrix<float, -1, 1, 0, -1, 1>>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_min_op<float>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
kdtree_cpu.cpp:260:53: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_min_op<float>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>>' requested here
  260 |                         const_cast<Vector&>(minBound) = minBound.array().min(v.array());
      |                                                                          ^
kdtree_cpu.cpp:435:18: note: in instantiation of member function 'Nabo::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<float, Nabo::IndexHeapSTL<int, float>>::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt' requested here
  435 |         template struct KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<float,IndexHeapSTL<int,float> >;
      |                         ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_min_op<float> (const float &, const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_max_op<float> (const float &, const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_max_op<float> (const float &, const float &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_max_op<float>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_max_op<float, float>, const ArrayWrapper<const Matrix<float, -1, 1, 0, -1, 1>>, const ArrayWrapper<const Matrix<float, -1, 1, 0, -1, 1>>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_max_op<float>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
kdtree_cpu.cpp:261:53: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_max_op<float>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<float, -1, 1>>>' requested here
  261 |                         const_cast<Vector&>(maxBound) = maxBound.array().max(v.array());
      |                                                                          ^
kdtree_cpu.cpp:435:18: note: in instantiation of member function 'Nabo::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<float, Nabo::IndexHeapSTL<int, float>>::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt' requested here
  435 |         template struct KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<float,IndexHeapSTL<int,float> >;
      |                         ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_max_op<float> (const float &, const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const Matrix<double, -1, 1, 0, -1, 1>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
kdtree_cpu.cpp:134:47: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>>' requested here
  134 |                 const unsigned cutDim = argMax<T>(maxValues - minValues);
      |                                                             ^
kdtree_cpu.cpp:437:18: note: in instantiation of member function 'Nabo::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<double, Nabo::IndexHeapSTL<int, double>>::buildNodes' requested here
  437 |         template struct KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<double,IndexHeapSTL<int,double> >;
      |                         ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_min_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_min_op<double> (const double &, const double &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_min_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_min_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_min_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
kdtree_cpu.cpp:260:53: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_min_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>' requested here
  260 |                         const_cast<Vector&>(minBound) = minBound.array().min(v.array());
      |                                                                          ^
kdtree_cpu.cpp:437:18: note: in instantiation of member function 'Nabo::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<double, Nabo::IndexHeapSTL<int, double>>::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt' requested here
  437 |         template struct KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<double,IndexHeapSTL<int,double> >;
      |                         ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_min_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from kdtree_cpu.cpp:32:
In file included from ./nabo_private.h:35:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_max_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_max_op<double> (const double &, const double &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_max_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_max_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>>>' required here
  149 |   : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_max_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
kdtree_cpu.cpp:261:53: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_max_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>' requested here
  261 |                         const_cast<Vector&>(maxBound) = maxBound.array().max(v.array());
      |                                                                          ^
kdtree_cpu.cpp:437:18: note: in instantiation of member function 'Nabo::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<double, Nabo::IndexHeapSTL<int, double>>::KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt' requested here
  437 |         template struct KDTreeUnbalancedPtInLeavesImplicitBoundsStackOpt<double,IndexHeapSTL<int,double> >;
      |                         ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_max_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
5 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c nabo.cpp -o nabo.o
21 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c nabor.cpp -o nabor.o
In file included from nabo.cpp:32:
In file included from ./nabo.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:36:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  239 |   int count = 0;
      |       ^
7 warnings generated.
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cast_op<double, double> (const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cast_op<double, double> (const double &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_cast_op<double, double>, const Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:510:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here
  510 |   typedef typename _CastType::Scalar NewScalarType;
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:48:69: note: in instantiation of template class 'Eigen::internal::cast_return_type<Eigen::Map<Eigen::Matrix<double, -1, -1>>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here
   48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
      |                                                                     ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:61:1: note: in instantiation of template class 'Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, -1>>>::CastXpr<double>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
WKNN.cpp:13:28: note: while substituting explicitly-specified template arguments into function template 'cast' 
   13 |   data_pts = data.template cast<T>().transpose();
      |                            ^
WKNN.cpp:82:17: note: in instantiation of member function 'WKNN<double>::WKNN' requested here
   82 | template struct WKNN<double>;
      |                 ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<double, double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, -1>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_sqrt_op<double>, const Matrix<double, -1, -1, 0, -1, -1>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
WKNN.cpp:58:34: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, -1>>' requested here
   58 |   Eigen::MatrixXd dists = dists2.cwiseSqrt().transpose().template cast<double>();
      |                                  ^
WKNN.cpp:82:17: note: in instantiation of member function 'WKNN<double>::queryT' requested here
   82 | template struct WKNN<double>;
      |                 ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cast_op<double, float> (const double &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cast_op<double, float> (const double &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, float>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_cast_op<double, float>, const Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, float>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:510:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, float>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here
  510 |   typedef typename _CastType::Scalar NewScalarType;
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:48:69: note: in instantiation of template class 'Eigen::internal::cast_return_type<Eigen::Map<Eigen::Matrix<double, -1, -1>>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, float>, const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here
   48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
      |                                                                     ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:61:1: note: in instantiation of template class 'Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, -1>>>::CastXpr<float>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
WKNN.cpp:13:28: note: while substituting explicitly-specified template arguments into function template 'cast' 
   13 |   data_pts = data.template cast<T>().transpose();
      |                            ^
WKNN.cpp:96:17: note: in instantiation of member function 'WKNN<float>::WKNN' requested here
   96 | template struct WKNN<float>;
      |                 ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<double, float> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sqrt_op<float> (const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sqrt_op<float> (const float &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_sqrt_op<float>, const Matrix<float, -1, -1, 0, -1, -1>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
WKNN.cpp:58:34: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>' requested here
   58 |   Eigen::MatrixXd dists = dists2.cwiseSqrt().transpose().template cast<double>();
      |                                  ^
WKNN.cpp:96:17: note: in instantiation of member function 'WKNN<float>::queryT' requested here
   96 | template struct WKNN<float>;
      |                 ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sqrt_op<float> (const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from WKNN.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cast_op<float, double> (const float &)>' is deprecated [-Wdeprecated-declarations]
  320 |   typedef typename std::result_of<T>::type type1;
      |                         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cast_op<float, double> (const float &)>' requested here
   21 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<float, double>, const Eigen::Transpose<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>>>' requested here
  497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind>
      |                                                        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_cast_op<float, double>, const Transpose<const CwiseUnaryOp<scalar_sqrt_op<float>, const Matrix<float, -1, -1, 0, -1, -1>>>>>' required here
   95 |   : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<float, double>, const Eigen::Transpose<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:510:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<float, double>, const Eigen::Transpose<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>>' requested here
  510 |   typedef typename _CastType::Scalar NewScalarType;
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:48:69: note: in instantiation of template class 'Eigen::internal::cast_return_type<Eigen::Transpose<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<float, double>, const Eigen::Transpose<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>>>' requested here
   48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
      |                                                                     ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:61:1: note: in instantiation of template class 'Eigen::MatrixBase<Eigen::Transpose<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<float>, const Eigen::Matrix<float, -1, -1>>>>::CastXpr<double>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
WKNN.cpp:58:67: note: while substituting explicitly-specified template arguments into function template 'cast' 
   58 |   Eigen::MatrixXd dists = dists2.cwiseSqrt().transpose().template cast<double>();
      |                                                                   ^
WKNN.cpp:96:17: note: in instantiation of member function 'WKNN<float>::queryT' requested here
   96 | template struct WKNN<float>;
      |                 ^
/usr/local/clang18/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<float, double> (const float &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__config:1001:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1001 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang18/bin/../include/c++/v1/__config:974:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  974 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
1 warning generated.
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:36:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  239 |   int count = 0;
      |       ^
In file included from nabor.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
   14 |     #pragma clang diagnostic pop
      |                                 ^
21 warnings generated.
26 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o nabor.so RcppExports.o WKNN.o brute_force_cpu.o init.o kdtree_cpu.o nabo.o nabor.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/nabor/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/nabor/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/nabor/src'
installing to /data/gannet/ripley/R/packages/tests-clang/nabor.Rcheck/00LOCK-nabor/00new/nabor/libs
** R
** data
** 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
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (nabor)