* installing *source* package ‘sdmTMB’ ...
** package ‘sdmTMB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 17.0.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/sdmTMB/src'
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c sdmTMB.cpp -o sdmTMB.o
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:87:
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 sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_product_op<int> (const int &, const int &)>' 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_product_op<int> (const int &, const int &)>' 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_product_op<int>, const Eigen::Array<int, -1, 1>, const Eigen::Array<int, -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_product_op<int, int>, const Array<int, -1, 1, 0, -1, 1>, const Array<int, -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_product_op<int>, const Eigen::Array<int, -1, 1>, const Eigen::Array<int, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/array.hpp:248:16: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int>, const Eigen::Array<int, -1, 1>, const Eigen::Array<int, -1, 1>>' requested here
  248 |     return (tup*mult).sum();
      |                ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<int> (const int &, const int &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_abs_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_abs_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_abs_op<double>, const Eigen::Array<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_abs_op<double>, const Array<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_abs_op<double>, const Eigen::Array<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/TMB/include/atomic_math.hpp:515:25: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>' requested here
  515 |                            double res=LUdiag.abs().log().sum();    // TODO: currently PD only - take care of sign.
      |                                              ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_log_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_log_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_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<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_log_op<double>, const CwiseUnaryOp<scalar_abs_op<double>, const Array<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_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<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/TMB/include/atomic_math.hpp:515:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>' requested here
  515 |                            double res=LUdiag.abs().log().sum();    // TODO: currently PD only - take care of sign.
      |                                                    ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_log_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_product_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_product_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_product_op<double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_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/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_product_op<double, double>, const Matrix<double, -1, -1, 0, -1, -1>, const CwiseNullaryOp<scalar_constant_op<double>, 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_product_op<double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:206:36: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>' requested here
  206 |       matrix<double> zero = args[0]*0.0;
      |                                    ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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<int, unsigned long> (const int &)>' 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<int, unsigned long> (const int &)>' 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<int, unsigned long>, const Eigen::Array<int, -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<int, unsigned long>, const Array<int, -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<int, unsigned long>, const Eigen::Array<int, -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<int, unsigned long>, const Eigen::Array<int, -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::Array<int, -1, 1>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -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::ArrayBase<Eigen::Array<int, -1, 1>>::CastXpr<unsigned long>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
/data/gannet/ripley/R/test-clang/TMB/include/start_parallel.hpp:139:28: note: while substituting explicitly-specified template arguments into function template 'cast' 
  139 |       vecind[i]=((H[i]->i).cast<size_t>())+((H[i]->j).cast<size_t>())*domain;
      |                            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<int, unsigned long> (const int &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_product_op<unsigned long> (const unsigned long &, const unsigned long &)>' 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_product_op<unsigned long> (const unsigned long &, const unsigned long &)>' 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_product_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<unsigned long>, const Eigen::Array<unsigned long, -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_product_op<unsigned long, unsigned long>, const CwiseUnaryOp<scalar_cast_op<int, unsigned long>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<unsigned long>, const Array<unsigned long, -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_product_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<unsigned long>, const Eigen::Array<unsigned long, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/start_parallel.hpp:139:70: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<unsigned long>, const Eigen::Array<unsigned long, -1, 1>>>' requested here
  139 |       vecind[i]=((H[i]->i).cast<size_t>())+((H[i]->j).cast<size_t>())*domain;
      |                                                                      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<unsigned long> (const unsigned long &, const unsigned long &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_sum_op<unsigned long> (const unsigned long &, const unsigned long &)>' 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_sum_op<unsigned long> (const unsigned long &, const unsigned long &)>' 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_sum_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<unsigned long>, const Eigen::Array<unsigned long, -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_sum_op<unsigned long, unsigned long>, const CwiseUnaryOp<scalar_cast_op<int, unsigned long>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseBinaryOp<scalar_product_op<unsigned long, unsigned long>, const CwiseUnaryOp<scalar_cast_op<int, unsigned long>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<unsigned long>, const Array<unsigned long, -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_sum_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<unsigned long>, const Eigen::Array<unsigned long, -1, 1>>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/start_parallel.hpp:139:43: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<unsigned long>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, unsigned long>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<unsigned long>, const Eigen::Array<unsigned long, -1, 1>>>>' requested here
  139 |       vecind[i]=((H[i]->i).cast<size_t>())+((H[i]->j).cast<size_t>())*domain;
      |                                           ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<unsigned long> (const unsigned long &, const unsigned long &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_sum_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_sum_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_sum_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<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_sum_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const Array<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_sum_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/start_parallel.hpp:361:43: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>' requested here
  361 |     for(int i=0; i<ntapes; i++) out = out + ans(i);
      |                                           ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_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<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:569:15: 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
  569 |     return y1 - y2;
      |               ^
/usr/local/clang17/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/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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<unsigned int, int> (const unsigned int &)>' 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<unsigned int, int> (const unsigned int &)>' 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<unsigned int, int>, const Eigen::Array<unsigned int, -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<unsigned int, int>, const Array<unsigned int, -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<unsigned int, int>, const Eigen::Array<unsigned int, -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<unsigned int, int>, const Eigen::Array<unsigned int, -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::Array<unsigned int, -1, 1>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<unsigned int, int>, const Eigen::Array<unsigned int, -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::ArrayBase<Eigen::Array<unsigned int, -1, 1>>::CastXpr<int>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:2324:23: note: while substituting explicitly-specified template arguments into function template 'cast' 
 2324 |   sphess ans(phf, h_i.cast<int>(), h_j.cast<int>());
      |                       ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<unsigned int, int> (const unsigned int &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_quotient_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_quotient_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_quotient_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<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_quotient_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<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_quotient_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/sparse_matrix_exponential.hpp:225:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>' requested here
  225 |       term = A * term / n;
      |                       ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_score_coeff_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_score_coeff_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_score_coeff_op<double>, const Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>>>, -1, 1, true>, -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_score_coeff_op<double>, const Block<Block<Block<Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>, -1, -1, false>, -1, 1, true>, -1, 1, false>>>' 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_score_coeff_op<double>, const Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>>>, -1, 1, true>, -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/LU/PartialPivLU.h:381:34: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_score_coeff_op<double>, const Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>>>, -1, 1, true>, -1, 1>>' requested here
  381 |         = lu.col(k).tail(rows-k).unaryExpr(Scoring()).maxCoeff(&row_of_biggest_in_col);
      |                                  ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:436:14: note: (skipping 11 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  436 |       return unblocked_lu(lu, row_transpositions, nb_transpositions);
      |              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Matrix.h:294:22: note: in instantiation of function template specialization 'Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1>>::_init1<Eigen::Inverse<Eigen::Matrix<double, -1, -1>>, Eigen::Inverse<Eigen::Matrix<double, -1, -1>>>' requested here
  294 |       Base::template _init1<T>(x);
      |                      ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/vector.hpp:106:16: note: in instantiation of function template specialization 'Eigen::Matrix<double, -1, -1>::Matrix<Eigen::Inverse<Eigen::Matrix<double, -1, -1>>>' requested here
  106 |   matrix(T1 x):Base(x) {}
      |                ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:36:21: note: in instantiation of function template specialization 'tmbutils::matrix<double>::matrix<Eigen::Inverse<Eigen::Matrix<double, -1, -1>>>' requested here
   36 |       return Block( this->A.inverse() );
      |                     ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:257:26: note: in instantiation of member function 'atomic::Block<double>::inverse' requested here
  257 |     matrix_pade invD = D.inverse();
      |                          ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:272:28: note: in instantiation of function template specialization 'atomic::expm<atomic::nestedTriangle<0>>' requested here
  272 |     if      (nargs==1) ans=expm(nestedTriangle<0>(args)).bottomLeftCorner();
      |                            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_score_coeff_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_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::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -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 Block<const Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>>>' 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::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -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::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>' requested here
   98 |   return numext::real((*this).cwiseAbs2().sum());
      |                               ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Householder/Householder.h:76:60: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
   76 |   RealScalar tailSqNorm = size()==1 ? RealScalar(0) : tail.squaredNorm();
      |                                                            ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:437:13: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here
  437 |   internal::tridiagonalization_inplace(mat, diag, m_subdiag, computeEigenvectors);
      |             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:168:7: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Matrix<double, -1, -1>>' requested here
  168 |       compute(matrix.derived(), options);
      |       ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:81:14: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>' requested here
   81 |       SAES_t saes(A);
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:375:14: note: in instantiation of member function 'atomic::Block<double>::sqrtm' requested here
  375 |     return A.sqrtm();
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:381:28: note: in instantiation of function template specialization 'atomic::sqrtm<atomic::nestedTriangle<0>>' requested here
  381 |     if      (nargs==1) ans=sqrtm(nestedTriangle<0>(args)).bottomLeftCorner();
      |                            ^
/usr/local/clang17/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/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_conj_product_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_conj_product_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_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -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_conj_product_op<double, double>, const Block<Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>>' 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_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>' requested here
   37 |     return a.template binaryExpr<conj_prod>(b).sum();
      |                       ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
   84 |   return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
      |                                                       ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:437:13: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here
  437 |   internal::tridiagonalization_inplace(mat, diag, m_subdiag, computeEigenvectors);
      |             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:168:7: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Matrix<double, -1, -1>>' requested here
  168 |       compute(matrix.derived(), options);
      |       ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:81:14: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>' requested here
   81 |       SAES_t saes(A);
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:375:14: note: in instantiation of member function 'atomic::Block<double>::sqrtm' requested here
  375 |     return A.sqrtm();
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:381:28: note: in instantiation of function template specialization 'atomic::sqrtm<atomic::nestedTriangle<0>>' requested here
  381 |     if      (nargs==1) ans=sqrtm(nestedTriangle<0>(args)).bottomLeftCorner();
      |                            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:310:35: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1>>' requested here
  310 |       return m_eivec * m_eivalues.cwiseSqrt().asDiagonal() * m_eivec.adjoint();
      |                                   ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:82:29: note: in instantiation of member function 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::operatorSqrt' requested here
   82 |       matrix<Type> X = saes.operatorSqrt();
      |                             ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:375:14: note: in instantiation of member function 'atomic::Block<double>::sqrtm' requested here
  375 |     return A.sqrtm();
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/expm.hpp:381:28: note: in instantiation of function template specialization 'atomic::sqrtm<atomic::nestedTriangle<0>>' requested here
  381 |     if      (nargs==1) ans=sqrtm(nestedTriangle<0>(args)).bottomLeftCorner();
      |                            ^
/usr/local/clang17/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/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_inverse_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_inverse_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_inverse_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_inverse_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_inverse_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
      |                             ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:230:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Matrix<double, -1, 1>>' requested here
  230 |   typedef typename DiagonalVectorType::Scalar Scalar;
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/EigenBase.h:41:30: note: (skipping 18 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
   41 |   typedef typename internal::traits<Derived>::StorageKind StorageKind;
      |                              ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1280:5: note: in instantiation of function template specialization 'newton::Newton_CTOR_Hook<newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>>' requested here
 1280 |     Newton_CTOR_Hook(*this, start);
      |     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1316:53: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::NewtonSolver' requested here
 1316 |   NewtonSolver<Functor, Type, jacobian_sparse_t<> > ans(F, start, cfg);
      |                                                     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1387:18: note: in instantiation of function template specialization 'newton::NewtonSparse<newton::slice<>, TMBad::global::ad_aug>' requested here
 1387 |       auto opt = NewtonSparse(F, start, cfg);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_opposite_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_opposite_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_opposite_op<double>, const Eigen::Array<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_opposite_op<double>, const Array<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_opposite_op<double>, const Eigen::Array<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/TMB/include/tmbutils/newton.hpp:1030:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>>' requested here
 1030 |     vector<T> w2 = - hessian -> solve(hessian, hv, w);
      |                    ^
/data/gannet/ripley/R/test-clang/TMB/include/TMBad/global.hpp:1721:21: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
 1721 |       OperatorBase::reverse(args);
      |                     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1280:5: note: in instantiation of function template specialization 'newton::Newton_CTOR_Hook<newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>>' requested here
 1280 |     Newton_CTOR_Hook(*this, start);
      |     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1316:53: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::NewtonSolver' requested here
 1316 |   NewtonSolver<Functor, Type, jacobian_sparse_t<> > ans(F, start, cfg);
      |                                                     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1387:18: note: in instantiation of function template specialization 'newton::NewtonSparse<newton::slice<>, TMBad::global::ad_aug>' requested here
 1387 |       auto opt = NewtonSparse(F, start, cfg);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_opposite_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_opposite_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_opposite_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -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_opposite_op<ad_aug>, const Array<ad_aug, -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_opposite_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -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/TMB/include/tmbutils/newton.hpp:1030:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>>' requested here
 1030 |     vector<T> w2 = - hessian -> solve(hessian, hv, w);
      |                    ^
/data/gannet/ripley/R/test-clang/TMB/include/TMBad/global.hpp:1721:21: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
 1721 |       OperatorBase::reverse(args);
      |                     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1280:5: note: in instantiation of function template specialization 'newton::Newton_CTOR_Hook<newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>>' requested here
 1280 |     Newton_CTOR_Hook(*this, start);
      |     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1316:53: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::NewtonSolver' requested here
 1316 |   NewtonSolver<Functor, Type, jacobian_sparse_t<> > ans(F, start, cfg);
      |                                                     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1387:18: note: in instantiation of function template specialization 'newton::NewtonSparse<newton::slice<>, TMBad::global::ad_aug>' requested here
 1387 |       auto opt = NewtonSparse(F, start, cfg);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_opposite_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_log_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_log_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_log_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -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_log_op<ad_aug>, const Array<ad_aug, -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_log_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -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/TMB/include/tmbutils/newton.hpp:1181:12: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>>' requested here
 1181 |   return D.log().sum();
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1187:12: note: in instantiation of function template specialization 'newton::log_determinant_simple<TMBad::global::ad_aug>' requested here
 1187 |     return log_determinant_simple(H);
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1303:12: note: in instantiation of function template specialization 'newton::log_determinant<TMBad::global::ad_aug>' requested here
 1303 |       .5 * log_determinant( hessian(),
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1389:18: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::Laplace' requested here
 1389 |       return opt.Laplace();
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_log_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_sum_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_sum_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/EigenBase.h:41:30: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>>>' requested here
   41 |   typedef typename internal::traits<Derived>::StorageKind StorageKind;
      |                              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:27:12: note: in instantiation of template class 'Eigen::EigenBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>>>' requested here
   27 |   : public EigenBase<Derived>
      |            ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:37:12: note: in instantiation of template class 'Eigen::SparseMatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>>>' requested here
   37 |   : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
      |            ^
/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_sum_op<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>, const Eigen::SparseMatrix<TMBad::global::ad_aug>, Eigen::Sparse>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/OrderingMethods/Ordering.h:36:14: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
   36 |   symmat = C + A;
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1187:12: note: in instantiation of function template specialization 'newton::log_determinant_simple<TMBad::global::ad_aug>' requested here
 1187 |     return log_determinant_simple(H);
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1303:12: note: in instantiation of function template specialization 'newton::log_determinant<TMBad::global::ad_aug>' requested here
 1303 |       .5 * log_determinant( hessian(),
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1389:18: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::Laplace' requested here
 1389 |       return opt.Laplace();
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_product_op<atomic::tiny_ad::variable<1, 1>> (const atomic::tiny_ad::variable<1, 1> &, const atomic::tiny_ad::variable<1, 1> &)>' 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_product_op<atomic::tiny_ad::variable<1, 1>> (const atomic::tiny_ad::variable<1, 1> &, const atomic::tiny_ad::variable<1, 1> &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/EigenBase.h:41:30: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::Matrix<atomic::tiny_ad::variable<1, 1>, -1, -1>>>>' requested here
   41 |   typedef typename internal::traits<Derived>::StorageKind StorageKind;
      |                              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:27:12: note: in instantiation of template class 'Eigen::EigenBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::Matrix<atomic::tiny_ad::variable<1, 1>, -1, -1>>>>' requested here
   27 |   : public EigenBase<Derived>
      |            ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:37:12: note: in instantiation of template class 'Eigen::SparseMatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::Matrix<atomic::tiny_ad::variable<1, 1>, -1, -1>>>>' requested here
   37 |   : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
      |            ^
/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_product_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::Matrix<atomic::tiny_ad::variable<1, 1>, -1, -1>>, Eigen::Sparse>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/simplicial_inverse_subset.hpp:152:11: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  152 |     x = x * 0;
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1191:46: note: in instantiation of function template specialization 'TMBad::global::Complete<newton::LogDetOperator<>>::Complete<Eigen::SparseMatrix<double>, std::shared_ptr<Eigen::SimplicialLLT<Eigen::SparseMatrix<double>>>>' requested here
 1191 |   TMBad::global::Complete<LogDetOperator<> > LD(pattern<double>(H), ptr->llt);
      |                                              ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1303:12: note: in instantiation of function template specialization 'newton::log_determinant<TMBad::global::ad_aug>' requested here
 1303 |       .5 * log_determinant( hessian(),
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1389:18: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::Laplace' requested here
 1389 |       return opt.Laplace();
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<atomic::tiny_ad::variable<1, 1>> (const atomic::tiny_ad::variable<1, 1> &, const atomic::tiny_ad::variable<1, 1> &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_sum_op<atomic::tiny_ad::variable<1, 1>> (const atomic::tiny_ad::variable<1, 1> &, const atomic::tiny_ad::variable<1, 1> &)>' 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_sum_op<atomic::tiny_ad::variable<1, 1>> (const atomic::tiny_ad::variable<1, 1> &, const atomic::tiny_ad::variable<1, 1> &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/EigenBase.h:41:30: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>>>' requested here
   41 |   typedef typename internal::traits<Derived>::StorageKind StorageKind;
      |                              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:27:12: note: in instantiation of template class 'Eigen::EigenBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>>>' requested here
   27 |   : public EigenBase<Derived>
      |            ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:37:12: note: in instantiation of template class 'Eigen::SparseMatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>>>' requested here
   37 |   : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
      |            ^
/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_sum_op<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, const Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>>, Eigen::Sparse>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/OrderingMethods/Ordering.h:36:14: note: (skipping 19 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
   36 |   symmat = C + A;
      |              ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1191:46: note: in instantiation of function template specialization 'TMBad::global::Complete<newton::LogDetOperator<>>::Complete<Eigen::SparseMatrix<double>, std::shared_ptr<Eigen::SimplicialLLT<Eigen::SparseMatrix<double>>>>' requested here
 1191 |   TMBad::global::Complete<LogDetOperator<> > LD(pattern<double>(H), ptr->llt);
      |                                              ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1303:12: note: in instantiation of function template specialization 'newton::log_determinant<TMBad::global::ad_aug>' requested here
 1303 |       .5 * log_determinant( hessian(),
      |            ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1389:18: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::Laplace' requested here
 1389 |       return opt.Laplace();
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<atomic::tiny_ad::variable<1, 1>> (const atomic::tiny_ad::variable<1, 1> &, const atomic::tiny_ad::variable<1, 1> &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_cmp_op<double, double, Eigen::internal::cmp_EQ> (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_cmp_op<double, double, Eigen::internal::cmp_EQ> (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_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<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_cmp_op<double, double, Eigen::internal::cmp_EQ>, const ArrayWrapper<Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<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_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:373:58: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here
  373 |           ret = ret && (mat.col(j).tail(size-j-1).array()==Scalar(0)).all();
      |                                                          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:520:42: note: (skipping 11 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  520 |   m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
      |                                          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1280:5: note: in instantiation of function template specialization 'newton::Newton_CTOR_Hook<newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_plus_lowrank_t<>>>' requested here
 1280 |     Newton_CTOR_Hook(*this, start);
      |     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1338:66: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_plus_lowrank_t<>>::NewtonSolver' requested here
 1338 |   NewtonSolver<Functor, Type, jacobian_sparse_plus_lowrank_t<> > ans(F, start, cfg);
      |                                                                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1391:18: note: in instantiation of function template specialization 'newton::NewtonSparsePlusLowrank<newton::slice<>, TMBad::global::ad_aug>' requested here
 1391 |       auto opt = NewtonSparsePlusLowrank(F, start, cfg);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_difference_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, const Eigen::Array<TMBad::global::ad_aug, -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<ad_aug, ad_aug>, const Array<ad_aug, -1, 1, 0, -1, 1>, const Array<ad_aug, -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<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:603:15: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>>' requested here
  603 |     return y1 - y2;
      |               ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1030:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
 1030 |     vector<T> w2 = - hessian -> solve(hessian, hv, w);
      |                                 ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1280:5: note: in instantiation of function template specialization 'newton::Newton_CTOR_Hook<newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_plus_lowrank_t<>>>' requested here
 1280 |     Newton_CTOR_Hook(*this, start);
      |     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1338:66: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_plus_lowrank_t<>>::NewtonSolver' requested here
 1338 |   NewtonSolver<Functor, Type, jacobian_sparse_plus_lowrank_t<> > ans(F, start, cfg);
      |                                                                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1391:18: note: in instantiation of function template specialization 'newton::NewtonSparsePlusLowrank<newton::slice<>, TMBad::global::ad_aug>' requested here
 1391 |       auto opt = NewtonSparsePlusLowrank(F, start, cfg);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_product_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_product_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_product_op<TMBad::global::ad_aug>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, const Eigen::Matrix<TMBad::global::ad_aug, -1, 1>>, const Eigen::MatrixWrapper<const Eigen::Array<TMBad::global::ad_aug, -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_product_op<ad_aug, ad_aug>, const CwiseNullaryOp<scalar_constant_op<ad_aug>, const Matrix<ad_aug, -1, 1, 0, -1, 1>>, const MatrixWrapper<const Array<ad_aug, -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_product_op<TMBad::global::ad_aug>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, const Eigen::Matrix<TMBad::global::ad_aug, -1, 1>>, const Eigen::MatrixWrapper<const Eigen::Array<TMBad::global::ad_aug, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:280:48: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<TMBad::global::ad_aug>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, const Eigen::Matrix<TMBad::global::ad_aug, -1, 1>>, const Eigen::MatrixWrapper<const Eigen::Array<TMBad::global::ad_aug, -1, 1>>>' requested here
  280 |     func(dst.col(j), rhsEval.coeff(Index(0),j) * actual_lhs);
      |                                                ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:317:15: note: (skipping 26 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  317 |     internal::outer_product_selector_run(dst, lhs, rhs, set(), is_row_major<Dst>());
      |               ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1280:5: note: in instantiation of function template specialization 'newton::Newton_CTOR_Hook<newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug>>' requested here
 1280 |     Newton_CTOR_Hook(*this, start);
      |     ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1327:52: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug>::NewtonSolver' requested here
 1327 |   NewtonSolver<Functor, Type, jacobian_dense_t<> > ans(F, start, cfg);
      |                                                    ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1396:16: note: in instantiation of function template specialization 'newton::NewtonDense<newton::slice<>, TMBad::global::ad_aug>' requested here
 1396 |     auto opt = NewtonDense(F, start, cfg);
      |                ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1428:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
 1428 |     T y = Laplace(*this, start, cfg);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/newton.hpp:1438:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
 1438 |   return S.Laplace_(cfg);
      |            ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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, TMBad::global::ad_aug> (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, TMBad::global::ad_aug> (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, TMBad::global::ad_aug>, 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, ad_aug>, 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, TMBad::global::ad_aug>, 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, TMBad::global::ad_aug>, 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, TMBad::global::ad_aug>, 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<TMBad::global::ad_aug>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
/data/gannet/ripley/R/test-clang/TMB/include/convert.hpp:114:25: note: while substituting explicitly-specified template arguments into function template 'cast' 
  114 |    vector<Type> y = tmp.cast<Type>();
      |                         ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:919:7: note: in instantiation of function template specialization 'asVector<TMBad::global::ad_aug>' requested here
  919 |       PARAMETER_VECTOR( TMB_epsilon_ );
      |       ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:221:73: note: expanded from macro 'PARAMETER_VECTOR'
  221 | vector<Type> name(TMB_OBJECTIVE_PTR -> fillShape(                       \
      |                                                                         ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1273:14: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::evalUserTemplate' requested here
 1273 |     y[0] = F.evalUserTemplate();
      |              ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<double, TMBad::global::ad_aug> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_quotient_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_quotient_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_quotient_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -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_quotient_op<ad_aug, ad_aug>, const Array<ad_aug, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<ad_aug>, const Array<ad_aug, -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_quotient_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
sdmTMB.cpp:431:42: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, const Eigen::Array<TMBad::global::ad_aug, -1, 1>>>' requested here
  431 |             omega_s.col(m) = omega_s_tmp / exp(ln_tau_O(m));
      |                                          ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_exp_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_exp_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_exp_op<TMBad::global::ad_aug>, const Eigen::Map<Eigen::Array<TMBad::global::ad_aug, -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_exp_op<ad_aug>, const Map<Array<ad_aug, -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_exp_op<TMBad::global::ad_aug>, const Eigen::Map<Eigen::Array<TMBad::global::ad_aug, -1, 1>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
sdmTMB.cpp:1177:54: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<TMBad::global::ad_aug>, const Eigen::Map<Eigen::Array<TMBad::global::ad_aug, -1, 1>>>' requested here
 1177 |         proj_eta.col(mix_model) = log((1. - p_mix) * exp(proj_eta.col(mix_model)) + // regular part
      |                                                      ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_exp_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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, int> (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, int> (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, int>, 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, int>, 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, int>, 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, int>, 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, int>, 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<int>' requested here
   61 | typename CastXpr<NewType>::Type
      | ^
/data/gannet/ripley/R/test-clang/TMB/include/convert.hpp:114:25: note: while substituting explicitly-specified template arguments into function template 'cast' 
  114 |    vector<Type> y = tmp.cast<Type>();
      |                         ^
sdmTMB.cpp:129:3: note: in instantiation of function template specialization 'asVector<int>' requested here
  129 |   DATA_IVECTOR(nobs_RE);
      |   ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:287:45: note: expanded from macro 'DATA_IVECTOR'
  287 | #define DATA_IVECTOR(name) vector<int> name(asVector<int>(              \
      |                                             ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<double, int> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_quotient_op<TMBad::global::ad_aug, double> (const TMBad::global::ad_aug &, 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_quotient_op<TMBad::global::ad_aug, double> (const TMBad::global::ad_aug &, const double &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/EigenBase.h:41:30: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>>' requested here
   41 |   typedef typename internal::traits<Derived>::StorageKind StorageKind;
      |                              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:27:12: note: in instantiation of template class 'Eigen::EigenBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>>' requested here
   27 |   : public EigenBase<Derived>
      |            ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:37:12: note: in instantiation of template class 'Eigen::SparseMatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>>' requested here
   37 |   : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
      |            ^
/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_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, Eigen::Sparse>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
./utils.h:160:58: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>' requested here
  160 |   Eigen::SparseMatrix<Type> Q = A.transpose() * Cinv * A / M_PI * 2 * 3;
      |                                                          ^
sdmTMB.cpp:385:11: note: in instantiation of function template specialization 'sdmTMB::Q_spde<TMBad::global::ad_aug>' requested here
  385 |     Q_s = Q_spde(spde_barrier, exp(ln_kappa(0,0)), barrier_scaling);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double> (const TMBad::global::ad_aug &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_product_op<TMBad::global::ad_aug, double> (const TMBad::global::ad_aug &, 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_product_op<TMBad::global::ad_aug, double> (const TMBad::global::ad_aug &, const double &)>' requested here
   33 |   typedef typename result_of<
      |                    ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/EigenBase.h:41:30: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<TMBad::global::ad_aug, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>>' requested here
   41 |   typedef typename internal::traits<Derived>::StorageKind StorageKind;
      |                              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:27:12: note: in instantiation of template class 'Eigen::EigenBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<TMBad::global::ad_aug, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>>' requested here
   27 |   : public EigenBase<Derived>
      |            ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:37:12: note: in instantiation of template class 'Eigen::SparseMatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<TMBad::global::ad_aug, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>>' requested here
   37 |   : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
      |            ^
/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_product_op<TMBad::global::ad_aug, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, Eigen::Sparse>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
./utils.h:160:65: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<TMBad::global::ad_aug, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<TMBad::global::ad_aug, double>, const Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::SparseMatrix<TMBad::global::ad_aug>>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, Eigen::SparseMatrix<TMBad::global::ad_aug>, 2>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>>' requested here
  160 |   Eigen::SparseMatrix<Type> Q = A.transpose() * Cinv * A / M_PI * 2 * 3;
      |                                                                 ^
sdmTMB.cpp:385:11: note: in instantiation of function template specialization 'sdmTMB::Q_spde<TMBad::global::ad_aug>' requested here
  385 |     Q_s = Q_spde(spde_barrier, exp(ln_kappa(0,0)), barrier_scaling);
      |           ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<TMBad::global::ad_aug, double> (const TMBad::global::ad_aug &, const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_abs_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_abs_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' 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_abs_op<TMBad::global::ad_aug>, const Eigen::Block<Eigen::Block<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>, -1, 1, true>, -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_abs_op<ad_aug>, const Block<Block<Matrix<ad_aug, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>>' 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_abs_op<TMBad::global::ad_aug>, const Eigen::Block<Eigen::Block<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>, -1, 1, true>, -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:221:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<TMBad::global::ad_aug>, const Eigen::Block<Eigen::Block<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>, -1, 1, true>, -1, 1>>' requested here
  221 |     return m.cwiseAbs().sum();
      |              ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:269:49: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  269 |   return internal::lpNorm_selector<Derived, p>::run(*this);
      |                                                 ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:129:7: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>::compute<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>' requested here
  129 |       compute(matrix.derived());
      |       ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/density.hpp:145:63: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>::LDLT<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>' requested here
  145 |       Eigen::LDLT<Eigen::Matrix<scalartype,Dynamic,Dynamic> > ldlt(Sigma);
      |                                                               ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/density.hpp:121:5: note: in instantiation of member function 'density::MVNORM_t<TMBad::global::ad_aug>::setSigma' requested here
  121 |     setSigma(Sigma_, use_atomic);
      |     ^
sdmTMB.cpp:949:18: note: in instantiation of member function 'density::MVNORM_t<TMBad::global::ad_aug>::MVNORM_t' requested here
  949 |   MVNORM_t<Type> neg_log_dmvnorm(priors_b_Sigma);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs_op<TMBad::global::ad_aug> (const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_cmp_op<TMBad::global::ad_aug, TMBad::global::ad_aug, Eigen::internal::cmp_EQ> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_cmp_op<TMBad::global::ad_aug, TMBad::global::ad_aug, Eigen::internal::cmp_EQ> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' 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_cmp_op<TMBad::global::ad_aug, TMBad::global::ad_aug, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, Eigen::Array<TMBad::global::ad_aug, -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_cmp_op<ad_aug, ad_aug, Eigen::internal::cmp_EQ>, const ArrayWrapper<Block<Block<Matrix<ad_aug, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>, const CwiseNullaryOp<scalar_constant_op<ad_aug>, Array<ad_aug, -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_cmp_op<TMBad::global::ad_aug, TMBad::global::ad_aug, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, Eigen::Array<TMBad::global::ad_aug, -1, 1>>, Eigen::Dense>' requested here
   78 |   public CwiseBinaryOpImpl<
      |          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:373:58: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<TMBad::global::ad_aug, TMBad::global::ad_aug, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<TMBad::global::ad_aug>, Eigen::Array<TMBad::global::ad_aug, -1, 1>>>' requested here
  373 |           ret = ret && (mat.col(j).tail(size-j-1).array()==Scalar(0)).all();
      |                                                          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:520:42: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  520 |   m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:129:7: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>::compute<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>' requested here
  129 |       compute(matrix.derived());
      |       ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/density.hpp:145:63: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>::LDLT<Eigen::Matrix<TMBad::global::ad_aug, -1, -1>>' requested here
  145 |       Eigen::LDLT<Eigen::Matrix<scalartype,Dynamic,Dynamic> > ldlt(Sigma);
      |                                                               ^
/data/gannet/ripley/R/test-clang/TMB/include/tmbutils/density.hpp:121:5: note: in instantiation of member function 'density::MVNORM_t<TMBad::global::ad_aug>::setSigma' requested here
  121 |     setSigma(Sigma_, use_atomic);
      |     ^
sdmTMB.cpp:949:18: note: in instantiation of member function 'density::MVNORM_t<TMBad::global::ad_aug>::MVNORM_t' requested here
  949 |   MVNORM_t<Type> neg_log_dmvnorm(priors_b_Sigma);
      |                  ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1277:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
 1277 |     F(); // Run through user template (modifies reportvector)
      |      ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<TMBad::global::ad_aug, TMBad::global::ad_aug, Eigen::internal::cmp_EQ> (const TMBad::global::ad_aug &, const TMBad::global::ad_aug &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
sdmTMB.cpp:751:80: warning: unused variable 's1_large' [-Wunused-variable]
  751 |   Type s1, s2, s3, lognzprob, tmp_ll, ll_1, ll_2, p_mix, mix_ratio, tweedie_p, s1_large, s2_large;
      |                                                                                ^~~~~~~~
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:2031:34: note: in instantiation of member function 'objective_function<double>::operator()' requested here
 2031 |       PROTECT( res = asSEXP( pf->operator()() ) );
      |                                  ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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_exp_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_exp_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_exp_op<double>, const Eigen::Map<Eigen::Array<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_exp_op<double>, const Map<Array<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_exp_op<double>, const Eigen::Map<Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here
   55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
      |                             ^
sdmTMB.cpp:1177:54: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::Map<Eigen::Array<double, -1, 1>>>' requested here
 1177 |         proj_eta.col(mix_model) = log((1. - p_mix) * exp(proj_eta.col(mix_model)) + // regular part
      |                                                      ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:2031:34: note: in instantiation of member function 'objective_function<double>::operator()' requested here
 2031 |       PROTECT( res = asSEXP( pf->operator()() ) );
      |                                  ^
/usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' has been explicitly marked deprecated here
   25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |       ^
/usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from sdmTMB.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:83:
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
      | ^
/data/gannet/ripley/R/test-clang/TMB/include/convert.hpp:114:25: note: while substituting explicitly-specified template arguments into function template 'cast' 
  114 |    vector<Type> y = tmp.cast<Type>();
      |                         ^
sdmTMB.cpp:120:3: note: in instantiation of function template specialization 'asVector<double>' requested here
  120 |   DATA_VECTOR(weights_i); // optional weights
      |   ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:239:41: note: expanded from macro 'DATA_VECTOR'
  239 |   name = TMB_OBJECTIVE_PTR -> fillShape(asVector<Type>(                 \
      |                                         ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:2031:34: note: in instantiation of member function 'objective_function<double>::operator()' requested here
 2031 |       PROTECT( res = asSEXP( pf->operator()() ) );
      |                                  ^
/usr/local/clang17/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/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
  983 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  956 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
53 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang17/lib -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o sdmTMB.so sdmTMB.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/sdmTMB/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/sdmTMB/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/sdmTMB/src'
installing to /data/gannet/ripley/R/packages/tests-clang/sdmTMB.Rcheck/00LOCK-sdmTMB/00new/sdmTMB/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (sdmTMB)