* installing *source* package ‘ernest’ ...
** this is package ‘ernest’ version ‘1.2.4’
** package ‘ernest’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ernest/src'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c KMeansRexCore.cpp -o KMeansRexCore.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpp11.cpp -o cpp11.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ellipsoid.cpp -o ellipsoid.o
In file included from ellipsoid.h:17,
from ellipsoid.cpp:10:
utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref<Eigen::Matrix<double, 1, -1> >)’:
utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase<Eigen::Ref<Eigen::Matrix<double, 1, -1>, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare]
71 | for (size_t i = 0; i < vec.size(); ++i) {
| ~~^~~~~~~~~~~~
KMeansRexCore.cpp: In function ‘void run_lloyd(kmeans_rex::ExtMat&, kmeans_rex::ExtMat&, kmeans_rex::ExtMat&, int)’:
KMeansRexCore.cpp:90:5: warning: ‘prevDist’ may be used uninitialized [-Wmaybe-uninitialized]
90 | if (prevDist == totalDist) {
| ^~
KMeansRexCore.cpp:84:10: note: ‘prevDist’ was declared here
84 | double prevDist, totalDist = 0;
| ^~~~~~~~
ellipsoid.cpp: In member function ‘std::__cxx11::list<vol::Ellipsoid> vol::Ellipsoid::Split(ern::ConstRef<Eigen::Matrix<double, -1, -1> >, double, int) const’:
ellipsoid.cpp:216:19: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
216 | if (idx0.size() < 2 * nvar_ || idx1.size() < 2 * nvar_) {
| ~~~~~~~~~~~~^~~~~~~~~~~
ellipsoid.cpp:216:46: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
216 | if (idx0.size() < 2 * nvar_ || idx1.size() < 2 * nvar_) {
| ~~~~~~~~~~~~^~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c exported_utils.cpp -o exported_utils.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c propose-impl.cpp -o propose-impl.o
In file included from ellipsoid.h:17,
from rectangle.h:12,
from propose-impl.cpp:11:
utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref<Eigen::Matrix<double, 1, -1> >)’:
utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase<Eigen::Ref<Eigen::Matrix<double, 1, -1>, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare]
71 | for (size_t i = 0; i < vec.size(); ++i) {
| ~~^~~~~~~~~~~~
rectangle.h: In member function ‘ern::Vector vol::Rectangle::UniformSample() const’:
rectangle.h:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
37 | for (size_t d = 0; d < nvar_; d++) {
| ~~^~~~~~~
propose-impl.cpp: In function ‘cpp11::list RandomWalkImpl(cpp11::doubles, cpp11::function, double, int, double)’:
propose-impl.cpp:26:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
26 | for (size_t draw = 0; draw < steps; draw++) {
| ~~~~~^~~~~~~
propose-impl.cpp: In function ‘cpp11::list SliceImpl(cpp11::doubles, cpp11::function, double, cpp11::doubles, cpp11::doubles, int)’:
propose-impl.cpp:57:15: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
57 | for (; draw < max_loop; draw++) {
| ~~~~~^~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/Core:337,
from /data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/Dense:1,
from /data/gannet/ripley/R/test-dev/cpp11eigen/include/cpp11eigen.hpp:7,
from KMeansRexCore.h:35,
from ellipsoid.h:15:
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/SelfadjointMatrixVector.h: In function ‘static void Eigen::internal::selfadjoint_product_impl<Lhs, LhsMode, false, Rhs, 0, true>::run(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; Lhs = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; int LhsMode = 17; Rhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >]’:
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:229:7: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
227 | internal::selfadjoint_matrix_vector_product<Scalar, Index, (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | int(LhsUpLo), bool(LhsBlasTraits::NeedToConjugate), bool(RhsBlasTraits::NeedToConjugate)>::run
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | (
| ^
230 | lhs.rows(), // size
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232 | actualRhsPtr, // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | actualDestPtr, // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | actualAlpha // scale factor
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | );
| ~
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:41:6: note: by argument 4 of type ‘const double*’ to ‘static void Eigen::internal::selfadjoint_matrix_vector_product<Scalar, Index, StorageOrder, UpLo, ConjugateLhs, ConjugateRhs, Version>::run(Index, const Scalar*, Index, const Scalar*, Scalar*, Scalar) [with Scalar = double; Index = long int; int StorageOrder = 0; int UpLo = 1; bool ConjugateLhs = false; bool ConjugateRhs = false; int Version = 0]’ declared here
41 | void selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,Version>::run(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/Core:341:
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; int Mode = 2]’:
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 2; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]’:
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/cpp11eigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c rectangle.cpp -o rectangle.o
In file included from ellipsoid.h:17,
from rectangle.h:12,
from rectangle.cpp:10:
utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref<Eigen::Matrix<double, 1, -1> >)’:
utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase<Eigen::Ref<Eigen::Matrix<double, 1, -1>, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare]
71 | for (size_t i = 0; i < vec.size(); ++i) {
| ~~^~~~~~~~~~~~
rectangle.h: In member function ‘ern::Vector vol::Rectangle::UniformSample() const’:
rectangle.h:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
37 | for (size_t d = 0; d < nvar_; d++) {
| ~~^~~~~~~
rectangle.cpp: In member function ‘bool vol::Rectangle::Clamp(ern::ConstRef<Eigen::Matrix<double, -1, 1> >, ern::ConstRef<Eigen::Matrix<double, -1, 1> >)’:
rectangle.cpp:22:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
22 | for (size_t d = 0; d < nvar_; d++) {
| ~~^~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c test-bounding.cpp -o test-bounding.o
In file included from ellipsoid.h:17,
from test-bounding.cpp:12:
utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref<Eigen::Matrix<double, 1, -1> >)’:
utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase<Eigen::Ref<Eigen::Matrix<double, 1, -1>, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare]
71 | for (size_t i = 0; i < vec.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from test-bounding.cpp:13:
rectangle.h: In member function ‘ern::Vector vol::Rectangle::UniformSample() const’:
rectangle.h:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
37 | for (size_t d = 0; d < nvar_; d++) {
| ~~^~~~~~~
test-bounding.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____0()’:
test-bounding.cpp:79:19: warning: variable ‘shape’ set but not used [-Wunused-but-set-variable]
79 | Eigen::Matrix2d shape = Eigen::Matrix2d::Identity();
| ^~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c test-random_vector.cpp -o test-random_vector.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c test-runner.cpp -o test-runner.o
In file included from test-random_vector.cpp:13:
utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref<Eigen::Matrix<double, 1, -1> >)’:
utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase<Eigen::Ref<Eigen::Matrix<double, 1, -1>, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare]
71 | for (size_t i = 0; i < vec.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c update_lrps-impl.cpp -o update_lrps-impl.o
In file included from ellipsoid.h:17,
from update_lrps-impl.cpp:16:
utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref<Eigen::Matrix<double, 1, -1> >)’:
utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase<Eigen::Ref<Eigen::Matrix<double, 1, -1>, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare]
71 | for (size_t i = 0; i < vec.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++20 -shared -L/usr/local/lib64 -o ernest.so KMeansRexCore.o cpp11.o ellipsoid.o exported_utils.o propose-impl.o rectangle.o test-bounding.o test-random_vector.o test-runner.o update_lrps-impl.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ernest/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ernest/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ernest/src'
installing to /data/gannet/ripley/R/packages/tests-devel/ernest.Rcheck/00LOCK-ernest/00new/ernest/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 (ernest)