* installing *source* package ‘ManifoldOptim’ ...
** package ‘ManifoldOptim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 19.1.3’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ManifoldOptim/src'
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c MyRcppExports.cpp -o MyRcppExports.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Others/Spline.cpp -o Others/Spline.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Others/MyMatrix.cpp -o Others/MyMatrix.o
Others/MyMatrix.cpp:10:27: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   10 |                 doublecomplex ZZERO = { 0, 0 }, ZONE = { 1, 0 }, ZTWO = { 2, 0 }, ZNONE = { -1, 0 };
      |                                         ^~~~
      |                                         {   }
Others/MyMatrix.cpp:10:44: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   10 |                 doublecomplex ZZERO = { 0, 0 }, ZONE = { 1, 0 }, ZTWO = { 2, 0 }, ZNONE = { -1, 0 };
      |                                                          ^~~~
      |                                                          {   }
Others/MyMatrix.cpp:10:61: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   10 |                 doublecomplex ZZERO = { 0, 0 }, ZONE = { 1, 0 }, ZTWO = { 2, 0 }, ZNONE = { -1, 0 };
      |                                                                           ^~~~
      |                                                                           {   }
Others/MyMatrix.cpp:10:79: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   10 |                 doublecomplex ZZERO = { 0, 0 }, ZONE = { 1, 0 }, ZTWO = { 2, 0 }, ZNONE = { -1, 0 };
      |                                                                                             ^~~~~
      |                                                                                             {    }
4 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Others/randgen.cpp -o Others/randgen.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Others/Timer.cpp -o Others/Timer.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Others/ForDebug.cpp -o Others/ForDebug.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Others/RegisterDynamicSymbol.cpp -o Others/RegisterDynamicSymbol.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/SPDVector.cpp -o Manifolds/SPDVector.o
In file included from Manifolds/SPDVector.cpp:2:
In file included from Manifolds/SPDVector.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SPDVector.cpp:2:
In file included from Manifolds/SPDVector.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SPDVector.cpp:2:
In file included from Manifolds/SPDVector.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/OrthGroup/OrthGroupVector.cpp -o Manifolds/OrthGroup/OrthGroupVector.o
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/OrthGroup/OrthGroup.cpp -o Manifolds/OrthGroup/OrthGroup.o
In file included from Manifolds/OrthGroup/OrthGroupVector.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroupVector.h:12:
In file included from Manifolds/Stiefel/StieVector.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroupVector.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroupVector.h:12:
In file included from Manifolds/Stiefel/StieVector.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroupVector.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroupVector.h:12:
In file included from Manifolds/Stiefel/StieVector.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroup.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroup.h:13:
In file included from Manifolds/OrthGroup/OrthGroupVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroup.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroup.h:13:
In file included from Manifolds/OrthGroup/OrthGroupVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroup.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroup.h:13:
In file included from Manifolds/OrthGroup/OrthGroupVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/OrthGroup/OrthGroupVariable.cpp -o Manifolds/OrthGroup/OrthGroupVariable.o
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/SPDVariable.cpp -o Manifolds/SPDVariable.o
In file included from Manifolds/OrthGroup/OrthGroupVariable.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroupVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroupVariable.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroupVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/OrthGroup/OrthGroupVariable.cpp:2:
In file included from Manifolds/OrthGroup/OrthGroupVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
In file included from Manifolds/SPDVariable.cpp:2:
In file included from Manifolds/SPDVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SPDVariable.cpp:2:
In file included from Manifolds/SPDVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SPDVariable.cpp:2:
In file included from Manifolds/SPDVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/PreShapeCurves/PSCVector.cpp -o Manifolds/PreShapeCurves/PSCVector.o
In file included from Manifolds/PreShapeCurves/PSCVector.cpp:2:
In file included from Manifolds/PreShapeCurves/PSCVector.h:4:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/PreShapeCurves/PSCVector.cpp:2:
In file included from Manifolds/PreShapeCurves/PSCVector.h:4:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/PreShapeCurves/PSCVector.cpp:2:
In file included from Manifolds/PreShapeCurves/PSCVector.h:4:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/PreShapeCurves/PreShapeCurves.cpp -o Manifolds/PreShapeCurves/PreShapeCurves.o
In file included from Manifolds/PreShapeCurves/PreShapeCurves.cpp:2:
In file included from Manifolds/PreShapeCurves/PreShapeCurves.h:5:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/PreShapeCurves/PreShapeCurves.cpp:2:
In file included from Manifolds/PreShapeCurves/PreShapeCurves.h:5:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/PreShapeCurves/PreShapeCurves.cpp:2:
In file included from Manifolds/PreShapeCurves/PreShapeCurves.h:5:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/PreShapeCurves/PSCVariable.cpp -o Manifolds/PreShapeCurves/PSCVariable.o
In file included from Manifolds/PreShapeCurves/PSCVariable.cpp:2:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/PreShapeCurves/PSCVariable.cpp:2:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/PreShapeCurves/PSCVariable.cpp:2:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Stiefel/Stiefel.cpp -o Manifolds/Stiefel/Stiefel.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Stiefel/StieVector.cpp -o Manifolds/Stiefel/StieVector.o
In file included from Manifolds/Stiefel/Stiefel.cpp:2:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Stiefel/Stiefel.cpp:2:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Stiefel/Stiefel.cpp:2:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/Stiefel/Stiefel.cpp:300:12: warning: unused variable 'inc' [-Wunused-variable]
  300 |                         integer inc = 1, N = n, P = p, Length = N * P;
      |                                 ^~~
Manifolds/Stiefel/Stiefel.cpp:300:35: warning: unused variable 'Length' [-Wunused-variable]
  300 |                         integer inc = 1, N = n, P = p, Length = N * P;
      |                                                        ^~~~~~
Manifolds/Stiefel/Stiefel.cpp:392:19: warning: unused variable 'zero' [-Wunused-variable]
  392 |                 double one = 1, zero = 0;
      |                                 ^~~~
Manifolds/Stiefel/Stiefel.cpp:570:18: warning: unused variable 'etaxTV' [-Wunused-variable]
  570 |                         const double *etaxTV = etax->ObtainReadData();
      |                                       ^~~~~~
Manifolds/Stiefel/Stiefel.cpp:571:18: warning: unused variable 'xixTV' [-Wunused-variable]
  571 |                         const double *xixTV = xix->ObtainReadData();
      |                                       ^~~~~
Manifolds/Stiefel/Stiefel.cpp:525:11: warning: unused variable 'resultTV' [-Wunused-variable]
  525 |                 double *resultTV = result->ObtainWriteEntireData();
      |                         ^~~~~~~~
Manifolds/Stiefel/Stiefel.cpp:602:11: warning: unused variable 'one' [-Wunused-variable]
  602 |                         double one = 1, zero = 0;
      |                                ^~~
Manifolds/Stiefel/Stiefel.cpp:602:20: warning: unused variable 'zero' [-Wunused-variable]
  602 |                         double one = 1, zero = 0;
      |                                         ^~~~
Manifolds/Stiefel/Stiefel.cpp:631:17: warning: unused variable 'xM' [-Wunused-variable]
  631 |                 const double *xM = x->ObtainReadData();
      |                               ^~
Manifolds/Stiefel/Stiefel.cpp:696:11: warning: unused variable 'one' [-Wunused-variable]
  696 |                         double one = 1, zero = 0;
      |                                ^~~
Manifolds/Stiefel/Stiefel.cpp:696:20: warning: unused variable 'zero' [-Wunused-variable]
  696 |                         double one = 1, zero = 0;
      |                                         ^~~~
Manifolds/Stiefel/Stiefel.cpp:725:17: warning: unused variable 'xM' [-Wunused-variable]
  725 |                 const double *xM = x->ObtainReadData();
      |                               ^~
Manifolds/Stiefel/Stiefel.cpp:734:53: warning: unused variable 'inc' [-Wunused-variable]
  734 |                 integer N = x->Getsize()[0], P = x->Getsize()[1], inc = 1, Length = N * P;
      |                                                                   ^~~
Manifolds/Stiefel/Stiefel.cpp:734:62: warning: unused variable 'Length' [-Wunused-variable]
  734 |                 integer N = x->Getsize()[0], P = x->Getsize()[1], inc = 1, Length = N * P;
      |                                                                            ^~~~~~
Manifolds/Stiefel/Stiefel.cpp:781:11: warning: unused variable 'exetax' [-Wunused-variable]
  781 |                 Vector *exetax = nullptr;
      |                         ^~~~~~
Manifolds/Stiefel/Stiefel.cpp:915:19: warning: unused variable 'etaxTV' [-Wunused-variable]
  915 |                                 const double *etaxTV = etax->ObtainReadData();
      |                                               ^~~~~~
Manifolds/Stiefel/Stiefel.cpp:916:19: warning: unused variable 'xixTV' [-Wunused-variable]
  916 |                                 const double *xixTV = xix->ObtainReadData();
      |                                               ^~~~~
Manifolds/Stiefel/Stiefel.cpp:1057:45: warning: unused variable 'transt' [-Wunused-variable]
 1057 |                 char *transn = const_cast<char *> ("n"), *transt = const_cast<char *> ("t");
      |                                                           ^~~~~~
In file included from Manifolds/Stiefel/StieVector.cpp:2:
In file included from Manifolds/Stiefel/StieVector.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Stiefel/StieVector.cpp:2:
In file included from Manifolds/Stiefel/StieVector.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Stiefel/StieVector.cpp:2:
In file included from Manifolds/Stiefel/StieVector.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Stiefel/StieVariable.cpp -o Manifolds/Stiefel/StieVariable.o
21 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Oblique/Oblique.cpp -o Manifolds/Oblique/Oblique.o
In file included from Manifolds/Stiefel/StieVariable.cpp:2:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Stiefel/StieVariable.cpp:2:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Stiefel/StieVariable.cpp:2:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Manifolds/Oblique/Oblique.cpp:2:
In file included from Manifolds/Oblique/Oblique.h:13:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Oblique/Oblique.cpp:2:
In file included from Manifolds/Oblique/Oblique.h:13:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Oblique/Oblique.cpp:2:
In file included from Manifolds/Oblique/Oblique.h:13:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Oblique/ObliqueVariable.cpp -o Manifolds/Oblique/ObliqueVariable.o
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Oblique/ObliqueVector.cpp -o Manifolds/Oblique/ObliqueVector.o
In file included from Manifolds/Oblique/ObliqueVariable.cpp:2:
In file included from Manifolds/Oblique/ObliqueVariable.h:12:
In file included from Manifolds/ProductElement.h:17:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Oblique/ObliqueVariable.cpp:2:
In file included from Manifolds/Oblique/ObliqueVariable.h:12:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Oblique/ObliqueVariable.cpp:2:
In file included from Manifolds/Oblique/ObliqueVariable.h:12:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Manifolds/Oblique/ObliqueVector.cpp:2:
In file included from Manifolds/Oblique/ObliqueVector.h:13:
In file included from Manifolds/ProductElement.h:17:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Oblique/ObliqueVector.cpp:2:
In file included from Manifolds/Oblique/ObliqueVector.h:13:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Oblique/ObliqueVector.cpp:2:
In file included from Manifolds/Oblique/ObliqueVector.h:13:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Euclidean/EucVector.cpp -o Manifolds/Euclidean/EucVector.o
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Euclidean/EucVariable.cpp -o Manifolds/Euclidean/EucVariable.o
In file included from Manifolds/Euclidean/EucVector.cpp:2:
In file included from Manifolds/Euclidean/EucVector.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Euclidean/EucVector.cpp:2:
In file included from Manifolds/Euclidean/EucVector.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Euclidean/EucVector.cpp:2:
In file included from Manifolds/Euclidean/EucVector.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Euclidean/Euclidean.cpp -o Manifolds/Euclidean/Euclidean.o
In file included from Manifolds/Euclidean/EucVariable.cpp:2:
In file included from Manifolds/Euclidean/EucVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Euclidean/EucVariable.cpp:2:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Euclidean/EucVariable.cpp:2:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/SmartSpace.cpp -o Manifolds/SmartSpace.o
In file included from Manifolds/Euclidean/Euclidean.cpp:2:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Euclidean/Euclidean.cpp:2:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Euclidean/Euclidean.cpp:2:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/ProductElement.cpp -o Manifolds/ProductElement.o
Manifolds/SmartSpace.cpp:232:14: warning: unused variable 'st' [-Wunused-variable]
  232 |                                         integer st = 0, ed = 0, row = size[0], col = size[1];
      |                                                 ^~
Manifolds/SmartSpace.cpp:232:22: warning: unused variable 'ed' [-Wunused-variable]
  232 |                                         integer st = 0, ed = 0, row = size[0], col = size[1];
      |                                                         ^~
2 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/SPDManifold.cpp -o Manifolds/SPDManifold.o
In file included from Manifolds/ProductElement.cpp:1:
In file included from Manifolds/ProductElement.h:17:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/ProductElement.cpp:1:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/ProductElement.cpp:1:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/ProductElement.cpp:79:12: warning: unused variable 'isharedtimes' [-Wunused-variable]
   79 |                 integer *isharedtimes = nullptr;
      |                          ^~~~~~~~~~~~
4 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Element.cpp -o Manifolds/Element.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/L2Sphere/L2Sphere.cpp -o Manifolds/L2Sphere/L2Sphere.o
In file included from Manifolds/SPDManifold.cpp:1:
In file included from Manifolds/SPDManifold.h:16:
In file included from Manifolds/SPDVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SPDManifold.cpp:1:
In file included from Manifolds/SPDManifold.h:16:
In file included from Manifolds/SPDVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SPDManifold.cpp:1:
In file included from Manifolds/SPDManifold.h:16:
In file included from Manifolds/SPDVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/SPDManifold.cpp:297:18: warning: unused variable 'etaxTV' [-Wunused-variable]
  297 |                         const double *etaxTV = etax->ObtainReadData();
      |                                       ^~~~~~
Manifolds/SPDManifold.cpp:298:18: warning: unused variable 'xixTV' [-Wunused-variable]
  298 |                         const double *xixTV = xix->ObtainReadData();
      |                                       ^~~~~
5 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/L2Sphere/L2SphereVector.cpp -o Manifolds/L2Sphere/L2SphereVector.o
In file included from Manifolds/L2Sphere/L2Sphere.cpp:2:
In file included from Manifolds/L2Sphere/L2Sphere.h:13:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/L2Sphere/L2Sphere.cpp:2:
In file included from Manifolds/L2Sphere/L2Sphere.h:13:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/L2Sphere/L2Sphere.cpp:2:
In file included from Manifolds/L2Sphere/L2Sphere.h:13:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Manifolds/Element.cpp:2:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Element.cpp:2:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Element.cpp:2:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/L2Sphere/L2Sphere.cpp:58:17: warning: unused variable 'xl' [-Wunused-variable]
   58 |                 const double *xl = x->ObtainReadData();
      |                               ^~
Manifolds/L2Sphere/L2Sphere.cpp:86:19: warning: unused variable 'etaxTV' [-Wunused-variable]
   86 |                                 const double *etaxTV = etax->ObtainReadData();
      |                                               ^~~~~~
Manifolds/L2Sphere/L2Sphere.cpp:87:19: warning: unused variable 'xixTV' [-Wunused-variable]
   87 |                                 const double *xixTV = xix->ObtainReadData();
      |                                               ^~~~~
Manifolds/L2Sphere/L2Sphere.cpp:275:17: warning: unused variable 'xl' [-Wunused-variable]
  275 |                 const double *xl = x->ObtainReadData();
      |                               ^~
Manifolds/L2Sphere/L2Sphere.cpp:315:16: warning: unused variable 'Sharedxcubed' [-Wunused-variable]
  315 |                 SharedSpace *Sharedxcubed = new SharedSpace(xcubed);
      |                              ^~~~~~~~~~~~
8 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/L2Sphere/L2SphereVariable.cpp -o Manifolds/L2Sphere/L2SphereVariable.o
3 warnings generated.
In file included from Manifolds/L2Sphere/L2SphereVector.cpp:2:
In file included from Manifolds/L2Sphere/L2SphereVector.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/L2Sphere/L2SphereVector.cpp:2:
In file included from Manifolds/L2Sphere/L2SphereVector.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/L2Sphere/L2SphereVector.cpp:2:
In file included from Manifolds/L2Sphere/L2SphereVector.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/SharedSpace.cpp -o Manifolds/SharedSpace.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/LinearOPE.cpp -o Manifolds/LinearOPE.o
In file included from Manifolds/L2Sphere/L2SphereVariable.cpp:2:
In file included from Manifolds/L2Sphere/L2SphereVariable.h:13:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/L2Sphere/L2SphereVariable.cpp:2:
In file included from Manifolds/L2Sphere/L2SphereVariable.h:13:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/L2Sphere/L2SphereVariable.cpp:2:
In file included from Manifolds/L2Sphere/L2SphereVariable.h:13:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
In file included from Manifolds/SharedSpace.cpp:2:
In file included from Manifolds/SharedSpace.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/SharedSpace.cpp:2:
In file included from Manifolds/SharedSpace.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Manifolds/SharedSpace.cpp:2:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LinearOPE.cpp:2:
In file included from Manifolds/LinearOPE.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
3 warnings generated.
In file included from Manifolds/LinearOPE.cpp:2:
In file included from Manifolds/LinearOPE.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual v/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/ProductManifold.cpp -o Manifolds/ProductManifold.o
oid CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LinearOPE.cpp:2:
In file included from Manifolds/LinearOPE.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Grassmann/GrassVariable.cpp -o Manifolds/Grassmann/GrassVariable.o
In file included from Manifolds/ProductManifold.cpp:1:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/ProductManifold.cpp:1:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/ProductManifold.cpp:1:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/ProductManifold.cpp:428:18: warning: unused variable 'etaxTV' [-Wunused-variable]
  428 |                         const double *etaxTV = etax->ObtainReadData();
      |                                       ^~~~~~
Manifolds/ProductManifold.cpp:429:18: warning: unused variable 'xixTV' [-Wunused-variable]
  429 |                         const double *xixTV = xix->ObtainReadData();
      |                                       ^~~~~
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Grassmann/GrassVector.cpp -o Manifolds/Grassmann/GrassVector.o
5 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Grassmann/Grassmann.cpp -o Manifolds/Grassmann/Grassmann.o
In file included from Manifolds/Grassmann/GrassVariable.cpp:2:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Grassmann/GrassVariable.cpp:2:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Grassmann/GrassVariable.cpp:2:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
In file included from Manifolds/Grassmann/GrassVector.cpp:2:
In file included from Manifolds/Grassmann/GrassVector.h:13:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Grassmann/GrassVector.cpp:2:
In file included from Manifolds/Grassmann/GrassVector.h:13:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Grassmann/GrassVector.cpp:2:
In file included from Manifolds/Grassmann/GrassVector.h:13:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Sphere/SphereVariable.cpp -o Manifolds/Sphere/SphereVariable.o
In file included from Manifolds/Grassmann/Grassmann.cpp:2:
In file included from Manifolds/Grassmann/Grassmann.h:16:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Grassmann/Grassmann.cpp:2:
In file included from Manifolds/Grassmann/Grassmann.h:16:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Grassmann/Grassmann.cpp:2:
In file included from Manifolds/Grassmann/Grassmann.h:16:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/Grassmann/Grassmann.cpp:59:10: warning: unused variable 'negone' [-Wunused-variable]
   59 |                 double negone = -1;
      |                        ^~~~~~
Manifolds/Grassmann/Grassmann.cpp:87:19: warning: unused variable 'zero' [-Wunused-variable]
   87 |                 double one = 1, zero = 0;
      |                                 ^~~~
Manifolds/Grassmann/Grassmann.cpp:195:18: warning: unused variable 'etaxTV' [-Wunused-variable]
  195 |                         const double *etaxTV = etax->ObtainReadData();
      |                                       ^~~~~~
Manifolds/Grassmann/Grassmann.cpp:196:18: warning: unused variable 'xixTV' [-Wunused-variable]
  196 |                         const double *xixTV = xix->ObtainReadData();
      |                                       ^~~~~
Manifolds/Grassmann/Grassmann.cpp:150:11: warning: unused variable 'resultTV' [-Wunused-variable]
  150 |                 double *resultTV = result->ObtainWriteEntireData();
      |                         ^~~~~~~~
Manifolds/Grassmann/Grassmann.cpp:318:11: warning: unused variable 'inc' [-Wunused-variable]
  318 |                 integer inc = 1, N = n, P = p, Length = N * P;
      |                         ^~~
Manifolds/Grassmann/Grassmann.cpp:318:34: warning: unused variable 'Length' [-Wunused-variable]
  318 |                 integer inc = 1, N = n, P = p, Length = N * P;
      |                                                ^~~~~~
Manifolds/Grassmann/Grassmann.cpp:363:11: warning: unused variable 'one' [-Wunused-variable]
  363 |                         double one = 1, zero = 0;
      |                                ^~~
Manifolds/Grassmann/Grassmann.cpp:363:20: warning: unused variable 'zero' [-Wunused-variable]
  363 |                         double one = 1, zero = 0;
      |                                         ^~~~
Manifolds/Grassmann/Grassmann.cpp:392:17: warning: unused variable 'xM' [-Wunused-variable]
  392 |                 const double *xM = x->ObtainReadData();
      |                               ^~
Manifolds/Grassmann/Grassmann.cpp:437:11: warning: unused variable 'one' [-Wunused-variable]
  437 |                         double one = 1, zero = 0;
      |                                ^~~
Manifolds/Grassmann/Grassmann.cpp:437:20: warning: unused variable 'zero' [-Wunused-variable]
  437 |                         double one = 1, zero = 0;
      |                                         ^~~~
Manifolds/Grassmann/Grassmann.cpp:466:17: warning: unused variable 'xM' [-Wunused-variable]
  466 |                 const double *xM = x->ObtainReadData();
      |                               ^~
Manifolds/Grassmann/Grassmann.cpp:475:53: warning: unused variable 'inc' [-Wunused-variable]
  475 |                 integer N = x->Getsize()[0], P = x->Getsize()[1], inc = 1, Length = N * P;
      |                                                                   ^~~
Manifolds/Grassmann/Grassmann.cpp:475:62: warning: unused variable 'Length' [-Wunused-variable]
  475 |                 integer N = x->Getsize()[0], P = x->Getsize()[1], inc = 1, Length = N * P;
      |                                                                            ^~~~~~
Manifolds/Grassmann/Grassmann.cpp:477:11: warning: unused variable 'idx' [-Wunused-variable]
  477 |                 integer idx = 0;
      |                         ^~~
19 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Sphere/SphereVector.cpp -o Manifolds/Sphere/SphereVector.o
In file included from Manifolds/Sphere/SphereVariable.cpp:2:
In file included from Manifolds/Sphere/SphereVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Sphere/SphereVariable.cpp:2:
In file included from Manifolds/Sphere/SphereVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Sphere/SphereVariable.cpp:2:
In file included from Manifolds/Sphere/SphereVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Sphere/Sphere.cpp -o Manifolds/Sphere/Sphere.o
In file included from Manifolds/Sphere/SphereVector.cpp:2:
In file included from Manifolds/Sphere/SphereVector.h:12:
In file included from Manifolds/Stiefel/StieVector.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Sphere/SphereVector.cpp:2:
In file included from Manifolds/Sphere/SphereVector.h:12:
In file included from Manifolds/Stiefel/StieVector.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Sphere/SphereVector.cpp:2:
In file included from Manifolds/Sphere/SphereVector.h:12:
In file included from Manifolds/Stiefel/StieVector.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/Manifold.cpp -o Manifolds/Manifold.o
In file included from Manifolds/Sphere/Sphere.cpp:2:
In file included from Manifolds/Sphere/Sphere.h:13:
In file included from Manifolds/Sphere/SphereVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Sphere/Sphere.cpp:2:
In file included from Manifolds/Sphere/Sphere.h:13:
In file included from Manifolds/Sphere/SphereVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Sphere/Sphere.cpp:2:
In file included from Manifolds/Sphere/Sphere.h:13:
In file included from Manifolds/Sphere/SphereVariable.h:12:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Manifolds/Manifold.cpp:2:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Manifold.cpp:2:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/Manifold.cpp:2:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/LowRank/LowRank.cpp -o Manifolds/LowRank/LowRank.o
Manifolds/Manifold.cpp:288:10: warning: unused variable 'temp' [-Wunused-variable]
  288 |                 double temp = 0;
      |                        ^~~~
Manifolds/Manifold.cpp:324:10: warning: unused variable 'temp' [-Wunused-variable]
  324 |                 double temp = 0;
      |                        ^~~~
Manifolds/Manifold.cpp:359:10: warning: unused variable 'temp' [-Wunused-variable]
  359 |                 double temp = 0;
      |                        ^~~~
6 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/LowRank/LowRankVector.cpp -o Manifolds/LowRank/LowRankVector.o
In file included from Manifolds/LowRank/LowRank.cpp:2:
In file included from Manifolds/LowRank/LowRank.h:17:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LowRank/LowRank.cpp:2:
In file included from Manifolds/LowRank/LowRank.h:17:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LowRank/LowRank.cpp:2:
In file included from Manifolds/LowRank/LowRank.h:17:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Manifolds/LowRank/LowRank.cpp:50:44: warning: unused variable 'RR' [-Wunused-variable]
   50 |                 integer MmR = m - r, NmR = n - r, R = r, RR = r * r, inc = 1, MmRR = (m - r) * r, NmRR = (n - r) * r;
      |                                                          ^~
Manifolds/LowRank/LowRank.cpp:195:29: warning: unused variable 'negone' [-Wunused-variable]
  195 |                 double one = 1, zero = 0, negone = -1;
      |                                           ^~~~~~
Manifolds/LowRank/LowRank.cpp:226:15: warning: unused variable 'prodexetax' [-Wunused-variable]
  226 |                 ProdVector *prodexetax = dynamic_cast<ProdVector *> (exetax);
      |                             ^~~~~~~~~~
Manifolds/LowRank/LowRank.cpp:324:18: warning: unused variable 'etaxTV' [-Wunused-variable]
  324 |                         const double *etaxTV = etax->ObtainReadData();
      |                                       ^~~~~~
Manifolds/LowRank/LowRank.cpp:325:18: warning: unused variable 'xixTV' [-Wunused-variable]
  325 |                         const double *xixTV = xix->ObtainReadData();
      |                                       ^~~~~
8 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Manifolds/LowRank/LowRankVariable.cpp -o Manifolds/LowRank/LowRankVariable.o
In file included from Manifolds/LowRank/LowRankVector.cpp:2:
In file included from Manifolds/LowRank/LowRankVector.h:12:
In file included from Manifolds/ProductElement.h:17:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LowRank/LowRankVector.cpp:2:
In file included from Manifolds/LowRank/LowRankVector.h:12:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LowRank/LowRankVector.cpp:2:
In file included from Manifolds/LowRank/LowRankVector.h:12:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/StieSoftICA/StieSoftICA.cpp -o Problems/StieSoftICA/StieSoftICA.o
In file included from Manifolds/LowRank/LowRankVariable.cpp:2:
In file included from Manifolds/LowRank/LowRankVariable.h:13:
In file included from Manifolds/ProductElement.h:17:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LowRank/LowRankVariable.cpp:2:
In file included from Manifolds/LowRank/LowRankVariable.h:13:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Manifolds/LowRank/LowRankVariable.cpp:2:
In file included from Manifolds/LowRank/LowRankVariable.h:13:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/WeightedLowrank/WeightedLowRank.cpp -o Problems/WeightedLowrank/WeightedLowRank.o
In file included from Problems/StieSoftICA/StieSoftICA.cpp:2:
In file included from Problems/StieSoftICA/StieSoftICA.h:14:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/StieSoftICA/StieSoftICA.cpp:2:
In file included from Problems/StieSoftICA/StieSoftICA.h:14:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/StieSoftICA/StieSoftICA.cpp:2:
In file included from Problems/StieSoftICA/StieSoftICA.h:14:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/StieSoftICA/StieSoftICA.cpp:68:11: warning: unused variable 'np' [-Wunused-variable]
   68 |                 integer np = n * p, inc = 1;
      |                         ^~
Problems/StieSoftICA/StieSoftICA.cpp:100:19: warning: unused variable 'zero' [-Wunused-variable]
  100 |                 double one = 1, zero = 0;
      |                                 ^~~~
5 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/PreShapePathStraighten/PreShapePathStraighten.cpp -o Problems/PreShapePathStraighten/PreShapePathStraighten.o
In file included from Problems/WeightedLowrank/WeightedLowRank.cpp:2:
In file included from Problems/WeightedLowrank/WeightedLowRank.h:19:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/WeightedLowrank/WeightedLowRank.cpp:2:
In file included from Problems/WeightedLowrank/WeightedLowRank.h:19:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/WeightedLowrank/WeightedLowRank.cpp:2:
In file included from Problems/WeightedLowrank/WeightedLowRank.h:19:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
In file included from Problems/PreShapePathStraighten/PreShapePathStraighten.cpp:2:
In file included from Problems/PreShapePathStraighten/PreShapePathStraighten.h:5:
In file included from Manifolds/PreShapeCurves/PreShapeCurves.h:5:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/PreShapePathStraighten/PreShapePathStraighten.cpp:2:
In file included from Problems/PreShapePathStraighten/PreShapePathStraighten.h:5:
In file included from Manifolds/PreShapeCurves/PreShapeCurves.h:5:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/PreShapePathStraighten/PreShapePathStraighten.cpp:2:
In file included from Problems/PreShapePathStraighten/PreShapePathStraighten.h:5:
In file included from Manifolds/PreShapeCurves/PreShapeCurves.h:5:
In file included from Manifolds/PreShapeCurves/PSCVariable.h:4:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.cpp -o Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp -o Problems/ElasticCurvesRO/DriverElasticCurvesRO.o
In file included from Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.cpp:2:
In file included from Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.h:16:
In file included from Manifolds/Oblique/Oblique.h:13:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.cpp:2:
In file included from Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.h:16:
In file included from Manifolds/Oblique/Oblique.h:13:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.cpp:2:
In file included from Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.h:16:
In file included from Manifolds/Oblique/Oblique.h:13:
In file included from Manifolds/ProductManifold.h:24:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.cpp:119:32: warning: unused variable 'inc' [-Wunused-variable]
  119 |                 integer N = n, P = p, R = r, inc = 1;
      |                                              ^~~
4 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/ElasticCurvesRO/ElasticCurvesRO.cpp -o Problems/ElasticCurvesRO/ElasticCurvesRO.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/StieBrockett/StieBrockett.cpp -o Problems/StieBrockett/StieBrockett.o
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:21:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:21:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:21:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:41:
Solvers/RBroydenFamily.h:50:16: warning: 'ROPTLIB::RBroydenFamily::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:41:
Solvers/RBroydenFamily.h:57:16: warning: 'ROPTLIB::RBroydenFamily::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:42:
Solvers/RWRBFGS.h:43:16: warning: 'ROPTLIB::RWRBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:42:
Solvers/RWRBFGS.h:50:16: warning: 'ROPTLIB::RWRBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:43:
Solvers/RBFGS.h:44:16: warning: 'ROPTLIB::RBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:43:
Solvers/RBFGS.h:51:16: warning: 'ROPTLIB::RBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:49:
Solvers/RTRSR1.h:44:16: warning: 'ROPTLIB::RTRSR1::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/DriverElasticCurvesRO.h:49:
Solvers/RTRSR1.h:51:16: warning: 'ROPTLIB::RTRSR1::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/SolversTR.h:106:16: note: hidden overloaded virtual function 'ROPTLIB::SolversTR::SetProbX' declared here: different number of parameters (2 vs 3)
  106 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
Problems/ElasticCurvesRO/DriverElasticCurvesRO.cpp:716:58: warning: variable 'ratio' set but not used [-Wunused-but-set-variable]
  716 |                 double theta, temp1, temp2, temp3, total_theta, angle, ratio;
      |                                                                        ^
In file included from Problems/ElasticCurvesRO/ElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/ElasticCurvesRO.h:19:
In file included from Manifolds/L2Sphere/L2Sphere.h:13:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/ElasticCurvesRO/ElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/ElasticCurvesRO.h:19:
In file included from Manifolds/L2Sphere/L2Sphere.h:13:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/ElasticCurvesRO/ElasticCurvesRO.cpp:2:
In file included from Problems/ElasticCurvesRO/ElasticCurvesRO.h:19:
In file included from Manifolds/L2Sphere/L2Sphere.h:13:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/ElasticCurvesRO/ElasticCurvesRO.cpp:198:17: warning: variable 'Oq1' set but not used [-Wunused-but-set-variable]
  198 |                 const double *Oq1 = q1;
      |                               ^
In file included from Problems/StieBrockett/StieBrockett.cpp:2:
In file included from Problems/StieBrockett/StieBrockett.h:13:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/StieBrockett/StieBrockett.cpp:2:
In file included from Problems/StieBrockett/StieBrockett.h:13:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/StieBrockett/StieBrockett.cpp:2:
In file included from Problems/StieBrockett/StieBrockett.h:13:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/StieBrockett/StieBrockett.cpp:154:34: warning: unused variable 'Length' [-Wunused-variable]
  154 |                 integer N = n, P = p, inc = 1, Length = N * P;
      |                                                ^~~~~~
Problems/StieBrockett/StieBrockett.cpp:155:29: warning: unused variable 'two' [-Wunused-variable]
  155 |                 double one = 1, zero = 0, two = 2;
      |                                           ^~~
5 warnings generated.
12 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/EucFrechetMean/EucFrechetMean.cpp -o Problems/EucFrechetMean/EucFrechetMean.o
4 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/StieSumBrockett/StieSumBrockett.cpp -o Problems/StieSumBrockett/StieSumBrockett.o
In file included from Problems/EucFrechetMean/EucFrechetMean.cpp:2:
In file included from Problems/EucFrechetMean/EucFrechetMean.h:12:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/EucFrechetMean/EucFrechetMean.cpp:2:
In file included from Problems/EucFrechetMean/EucFrechetMean.h:12:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/EucFrechetMean/EucFrechetMean.cpp:2:
In file included from Problems/EucFrechetMean/EucFrechetMean.h:12:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/GrassRQ/GrassRQ.cpp -o Problems/GrassRQ/GrassRQ.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/mexProblem.cpp -o Problems/mexProblem.o
In file included from Problems/StieSumBrockett/StieSumBrockett.cpp:2:
In file included from Problems/StieSumBrockett/StieSumBrockett.h:15:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/StieSumBrockett/StieSumBrockett.cpp:2:
In file included from Problems/StieSumBrockett/StieSumBrockett.h:15:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/StieSumBrockett/StieSumBrockett.cpp:2:
In file included from Problems/StieSumBrockett/StieSumBrockett.h:15:
In file included from Manifolds/Stiefel/Stiefel.h:15:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/StieSumBrockett/StieSumBrockett.cpp:139:34: warning: variable 'Length' set but not used [-Wunused-but-set-variable]
  139 |                 integer N = n, P = p, inc = 1, Length = N * P;
      |                                                ^
Problems/StieSumBrockett/StieSumBrockett.cpp:140:29: warning: unused variable 'negone' [-Wunused-variable]
  140 |                 double one = 1, zero = 0, negone = -1, two = 2;
      |                                           ^~~~~~
Problems/StieSumBrockett/StieSumBrockett.cpp:140:42: warning: unused variable 'two' [-Wunused-variable]
  140 |                 double one = 1, zero = 0, negone = -1, two = 2;
      |                                                        ^~~
6 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/EucQuadratic/EucQuadratic.cpp -o Problems/EucQuadratic/EucQuadratic.o
In file included from Problems/GrassRQ/GrassRQ.cpp:2:
In file included from Problems/GrassRQ/GrassRQ.h:13:
In file included from Manifolds/Grassmann/Grassmann.h:16:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/GrassRQ/GrassRQ.cpp:2:
In file included from Problems/GrassRQ/GrassRQ.h:13:
In file included from Manifolds/Grassmann/Grassmann.h:16:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/GrassRQ/GrassRQ.cpp:2:
In file included from Problems/GrassRQ/GrassRQ.h:13:
In file included from Manifolds/Grassmann/Grassmann.h:16:
In file included from Manifolds/Grassmann/GrassVariable.h:13:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/GrassRQ/GrassRQ.cpp:57:25: warning: unused variable 'inc' [-Wunused-variable]
   57 |                 integer N = n, P = p, inc = 1, Length = N * P;
      |                                       ^~~
Problems/GrassRQ/GrassRQ.cpp:57:34: warning: unused variable 'Length' [-Wunused-variable]
   57 |                 integer N = n, P = p, inc = 1, Length = N * P;
      |                                                ^~~~~~
Problems/GrassRQ/GrassRQ.cpp:58:29: warning: unused variable 'two' [-Wunused-variable]
   58 |                 double one = 1, zero = 0, two = 2;
      |                                           ^~~
6 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/Problem.cpp -o Problems/Problem.o
In file included from Problems/mexProblem.cpp:2:
In file included from Problems/mexProblem.h:12:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/mexProblem.cpp:2:
In file included from Problems/mexProblem.h:12:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/mexProblem.cpp:2:
In file included from Problems/mexProblem.h:12:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Problems/SPDMean/SPDMean.cpp -o Problems/SPDMean/SPDMean.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RBroydenFamily.cpp -o Solvers/RBroydenFamily.o
In file included from Problems/EucQuadratic/EucQuadratic.cpp:2:
In file included from Problems/EucQuadratic/EucQuadratic.h:12:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/EucQuadratic/EucQuadratic.cpp:2:
In file included from Problems/EucQuadratic/EucQuadratic.h:12:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/EucQuadratic/EucQuadratic.cpp:2:
In file included from Problems/EucQuadratic/EucQuadratic.h:12:
In file included from Manifolds/Euclidean/Euclidean.h:12:
In file included from Manifolds/Euclidean/EucVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RSD.cpp -o Solvers/RSD.o
3 warnings generated.
In file included from Problems/Problem.cpp:2:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/Problem.cpp:2:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/Problem.cpp:2:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Problems/Problem.cpp:13:10: warning: variable 't' set but not used [-Wunused-but-set-variable]
   13 |                 double t, fx, fy;
      |                        ^
4 warnings generated.
In file included from Problems/SPDMean/SPDMean.cpp:2:
In file included from Problems/SPDMean/SPDMean.h:15:
In file included from Manifolds/SPDManifold.h:16:
In file included from Manifolds/SPDVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/SPDMean/SPDMean.cpp:2:
In file included from Problems/SPDMean/SPDMean.h:15:
In file included from Manifolds/SPDManifold.h:16:
In file included from Manifolds/SPDVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Problems/SPDMean/SPDMean.cpp:2:
In file included from Problems/SPDMean/SPDMean.h:15:
In file included from Manifolds/SPDManifold.h:16:
In file included from Manifolds/SPDVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RWRBFGS.cpp -o Solvers/RWRBFGS.o
In file included from Solvers/RBroydenFamily.cpp:2:
In file included from Solvers/RBroydenFamily.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RBroydenFamily.cpp:2:
In file included from Solvers/RBroydenFamily.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RBroydenFamily.cpp:2:
In file included from Solvers/RBroydenFamily.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Solvers/RBroydenFamily.cpp:2:
Solvers/RBroydenFamily.h:50:16: warning: 'ROPTLIB::RBroydenFamily::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Solvers/RBroydenFamily.cpp:2:
Solvers/RBroydenFamily.h:57:16: warning: 'ROPTLIB::RBroydenFamily::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
5 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RTRSR1.cpp -o Solvers/RTRSR1.o
In file included from Solvers/RSD.cpp:2:
In file included from Solvers/RSD.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RSD.cpp:2:
In file included from Solvers/RSD.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RSD.cpp:2:
In file included from Solvers/RSD.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/LRTRSR1.cpp -o Solvers/LRTRSR1.o
In file included from Solvers/RWRBFGS.cpp:2:
In file included from Solvers/RWRBFGS.h:13:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RWRBFGS.cpp:2:
In file included from Solvers/RWRBFGS.h:13:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RWRBFGS.cpp:2:
In file included from Solvers/RWRBFGS.h:13:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Solvers/RWRBFGS.cpp:2:
Solvers/RWRBFGS.h:43:16: warning: 'ROPTLIB::RWRBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Solvers/RWRBFGS.cpp:2:
Solvers/RWRBFGS.h:50:16: warning: 'ROPTLIB::RWRBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Solvers/RTRSR1.cpp:2:
In file included from Solvers/RTRSR1.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RTRSR1.cpp:2:
In file included from Solvers/RTRSR1.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RTRSR1.cpp:2:
In file included from Solvers/RTRSR1.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Solvers/RTRSR1.cpp:2:
Solvers/RTRSR1.h:44:16: warning: 'ROPTLIB::RTRSR1::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Solvers/RTRSR1.cpp:2:
Solvers/RTRSR1.h:51:16: warning: 'ROPTLIB::RTRSR1::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/SolversTR.h:106:16: note: hidden overloaded virtual function 'ROPTLIB::SolversTR::SetProbX' declared here: different number of parameters (2 vs 3)
  106 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
Solvers/RTRSR1.cpp:108:8: warning: unused variable 'NO' [-Wunused-variable]
  108 |                 char NO[] = "NO";
      |                      ^~
5 warnings generated.
6 warnings generated.
In file included from Solvers/LRTRSR1.cpp:2:
In file included from Solvers/LRTRSR1.h:15:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/LRTRSR1.cpp:2:
In file included from Solvers/LRTRSR1.h:15:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/LRTRSR1.cpp:2:
In file included from Solvers/LRTRSR1.h:15:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RTRSD.cpp -o Solvers/RTRSD.o
In file included from Solvers/RTRSD.cpp:2:
In file included from Solvers/RTRSD.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RTRSD.cpp:2:
In file included from Solvers/RTRSD.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RTRSD.cpp:2:
In file included from Solvers/RTRSD.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/Solvers.cpp -o Solvers/Solvers.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/LRBFGS.cpp -o Solvers/LRBFGS.o
In file included from Solvers/Solvers.cpp:2:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/Solvers.cpp:2:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/Solvers.cpp:2:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Solvers/LRBFGS.cpp:2:
In file included from Solvers/LRBFGS.h:15:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/LRBFGS.cpp:2:
In file included from Solvers/LRBFGS.h:15:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/LRBFGS.cpp:2:
In file included from Solvers/LRBFGS.h:15:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/MRankAdaptive.cpp -o Solvers/MRankAdaptive.o
In file included from Solvers/MRankAdaptive.cpp:2:
In file included from Solvers/MRankAdaptive.h:5:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/MRankAdaptive.cpp:2:
In file included from Solvers/MRankAdaptive.h:5:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/MRankAdaptive.cpp:2:
In file included from Solvers/MRankAdaptive.h:5:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RCG.cpp -o Solvers/RCG.o
In file included from Solvers/RCG.cpp:2:
In file included from Solvers/RCG.h:13:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RCG.cpp:2:
In file included from Solvers/RCG.h:13:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RCG.cpp:2:
In file included from Solvers/RCG.h:13:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/SolversLS.cpp -o Solvers/SolversLS.o
In file included from Solvers/SolversLS.cpp:2:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/SolversLS.cpp:2:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/SolversLS.cpp:2:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
Solvers/SolversLS.cpp:425:10: warning: unused variable 'tol' [-Wunused-variable]
  425 |                 double tol = initialslope * 1e-16;
      |                        ^~~
Solvers/SolversLS.cpp:521:11: warning: unused variable 'times' [-Wunused-variable]
  521 |                 integer times = 0;
      |                         ^~~~~
5 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/SolversTR.cpp -o Solvers/SolversTR.o
In file included from Solvers/SolversTR.cpp:2:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/SolversTR.cpp:2:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/SolversTR.cpp:2:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RBFGS.cpp -o Solvers/RBFGS.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RTRNewton.cpp -o Solvers/RTRNewton.o
In file included from Solvers/RBFGS.cpp:2:
In file included from Solvers/RBFGS.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RBFGS.cpp:2:
In file included from Solvers/RBFGS.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RBFGS.cpp:2:
In file included from Solvers/RBFGS.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from Solvers/RBFGS.cpp:2:
Solvers/RBFGS.h:44:16: warning: 'ROPTLIB::RBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Solvers/RBFGS.cpp:2:
Solvers/RBFGS.h:51:16: warning: 'ROPTLIB::RBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from Solvers/RTRNewton.cpp:2:
In file included from Solvers/RTRNewton.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RTRNewton.cpp:2:
In file included from Solvers/RTRNewton.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RTRNewton.cpp:2:
In file included from Solvers/RTRNewton.h:14:
In file included from Solvers/SolversTR.h:13:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
5 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Solvers/RNewton.cpp -o Solvers/RNewton.o
In file included from Solvers/RNewton.cpp:2:
In file included from Solvers/RNewton.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RNewton.cpp:2:
In file included from Solvers/RNewton.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from Solvers/RNewton.cpp:2:
In file included from Solvers/RNewton.h:14:
In file included from Solvers/SolversLS.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/ProblemAdapter.cpp -o ManifoldOptim/ProblemAdapter.o
In file included from ManifoldOptim/ProblemAdapter.cpp:1:
In file included from ManifoldOptim/ProblemAdapter.h:6:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/ProblemAdapter.cpp:1:
In file included from ManifoldOptim/ProblemAdapter.h:6:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/ProblemAdapter.cpp:1:
In file included from ManifoldOptim/ProblemAdapter.h:6:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/ManifoldFactory.cpp -o ManifoldOptim/ManifoldFactory.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/Util.cpp -o ManifoldOptim/Util.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/ManifoldOptim.cpp -o ManifoldOptim/ManifoldOptim.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/ManifoldOptimModule.cpp -o ManifoldOptim/ManifoldOptimModule.o
In file included from ManifoldOptim/ManifoldFactory.cpp:1:
In file included from ManifoldOptim/ManifoldFactory.h:6:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/ManifoldFactory.cpp:1:
In file included from ManifoldOptim/ManifoldFactory.h:6:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/ManifoldFactory.cpp:1:
In file included from ManifoldOptim/ManifoldFactory.h:6:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/VariableFactory.cpp -o ManifoldOptim/VariableFactory.o
In file included from ManifoldOptim/VariableFactory.cpp:1:
In file included from ManifoldOptim/VariableFactory.h:5:
In file included from Manifolds/Stiefel/StieVariable.h:12:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/VariableFactory.cpp:1:
In file included from ManifoldOptim/VariableFactory.h:5:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/VariableFactory.cpp:1:
In file included from ManifoldOptim/VariableFactory.h:5:
In file included from Manifolds/Stiefel/StieVariable.h:12:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
3 warnings generated.
In file included from ManifoldOptim/Util.cpp:1:
In file included from ManifoldOptim/Util.h:7:
In file included from Manifolds/ProductElement.h:17:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/Util.cpp:1:
In file included from ManifoldOptim/Util.h:7:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/Util.cpp:1:
In file included from ManifoldOptim/Util.h:7:
In file included from Manifolds/ProductElement.h:17:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:8:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:8:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:8:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:8:
Solvers/RBFGS.h:44:16: warning: 'ROPTLIB::RBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:8:
Solvers/RBFGS.h:51:16: warning: 'ROPTLIB::RBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:9:
Solvers/RBroydenFamily.h:50:16: warning: 'ROPTLIB::RBroydenFamily::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:9:
Solvers/RBroydenFamily.h:57:16: warning: 'ROPTLIB::RBroydenFamily::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:15:
Solvers/RTRSR1.h:44:16: warning: 'ROPTLIB::RTRSR1::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:15:
Solvers/RTRSR1.h:51:16: warning: 'ROPTLIB::RTRSR1::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/SolversTR.h:106:16: note: hidden overloaded virtual function 'ROPTLIB::SolversTR::SetProbX' declared here: different number of parameters (2 vs 3)
  106 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:16:
Solvers/RWRBFGS.h:43:16: warning: 'ROPTLIB::RWRBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/ManifoldOptim.cpp:1:
In file included from ManifoldOptim/ManifoldOptim.h:20:
In file included from ManifoldOptim/SolverFactory.h:16:
Solvers/RWRBFGS.h:50:16: warning: 'ROPTLIB::RWRBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
3 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/BrockettProblem.cpp -o ManifoldOptim/BrockettProblem.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/RProblem.cpp -o ManifoldOptim/RProblem.o
11 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -IManifolds -IManifolds/Euclidean -IManifolds/Grassmann -IManifolds/L2Sphere -IManifolds/LowRank -IManifolds/Oblique -IManifolds/OrthGroup -IManifolds/PreShapeCurves -IManifolds/Sphere -IManifolds/Stiefel -IManifolds/SPDTensor -IManifolds/CpxNStQOrth -IOthers -IProblems -IProblems/ElasticCurvesRO -IProblems/EucFrechetMean -IProblems/EucQuadratic -IProblems/GrassRQ -IProblems/ObliqueTestSparsePCA -IProblems/PreShapePathStraighten -IProblems/SPDMean -IProblems/SPDTensorDL -IProblems/StieBrockett -IProblems/StieSoftICA -IProblems/StieSumBrockett -IProblems/WeightedLowrank -ISolvers -IManifoldOptim -DR_BUILD -DARMA_DONT_USE_BLAS -DARMA_DONT_USE_LAPACK -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ManifoldOptim/SolverFactory.cpp -o ManifoldOptim/SolverFactory.o
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:5:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
In file included from Manifolds/Element.h:18:
Manifolds/SharedSpace.h:57:16: warning: 'ROPTLIB::SharedSpace::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void CopyTo(SharedSpace *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'SharedSpace *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:5:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:43:16: warning: 'ROPTLIB::Element::CopyTo' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void CopyTo(Element *eta) const;
      |                              ^
Manifolds/SmartSpace.h:48:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::CopyTo' declared here: type mismatch at 1st parameter ('SmartSpace *' vs 'Element *')
   48 |                 virtual void CopyTo(SmartSpace *eta) const;
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:5:
In file included from Solvers/Solvers.h:18:
In file included from Manifolds/Manifold.h:23:
In file included from Problems/Problem.h:15:
Manifolds/Element.h:58:16: warning: 'ROPTLIB::Element::Print' hides overloaded virtual function [-Woverloaded-virtual]
   58 |                 virtual void Print(const char *name = "", bool isonlymain = true) const;
      |                              ^
Manifolds/SmartSpace.h:89:16: note: hidden overloaded virtual function 'ROPTLIB::SmartSpace::Print' declared here: different number of parameters (1 vs 2)
   89 |                 virtual void Print(const char *name = "") const;
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:8:
Solvers/RBFGS.h:44:16: warning: 'ROPTLIB::RBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:8:
Solvers/RBFGS.h:51:16: warning: 'ROPTLIB::RBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:9:
Solvers/RBroydenFamily.h:50:16: warning: 'ROPTLIB::RBroydenFamily::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:9:
Solvers/RBroydenFamily.h:57:16: warning: 'ROPTLIB::RBroydenFamily::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   57 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:15:
Solvers/RTRSR1.h:44:16: warning: 'ROPTLIB::RTRSR1::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   44 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:15:
Solvers/RTRSR1.h:51:16: warning: 'ROPTLIB::RTRSR1::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   51 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialB = nullptr);
      |                              ^
Solvers/SolversTR.h:106:16: note: hidden overloaded virtual function 'ROPTLIB::SolversTR::SetProbX' declared here: different number of parameters (2 vs 3)
  106 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:16:
Solvers/RWRBFGS.h:43:16: warning: 'ROPTLIB::RWRBFGS::Initialization' hides overloaded virtual function [-Woverloaded-virtual]
   43 |                 virtual void Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/Solvers.h:152:16: note: hidden overloaded virtual function 'ROPTLIB::Solvers::Initialization' declared here: different number of parameters (2 vs 3)
  152 |                 virtual void Initialization(const Problem *prob, const Variable *initialx);
      |                              ^
In file included from ManifoldOptim/SolverFactory.cpp:1:
In file included from ManifoldOptim/SolverFactory.h:16:
Solvers/RWRBFGS.h:50:16: warning: 'ROPTLIB::RWRBFGS::SetProbX' hides overloaded virtual function [-Woverloaded-virtual]
   50 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx, LinearOPE *initialH = nullptr);
      |                              ^
Solvers/SolversLS.h:143:16: note: hidden overloaded virtual function 'ROPTLIB::SolversLS::SetProbX' declared here: different number of parameters (2 vs 3)
  143 |                 virtual void SetProbX(const Problem *prob, const Variable *initialx);
      |                              ^
11 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o ManifoldOptim.so MyRcppExports.o Others/Spline.o Others/MyMatrix.o Others/randgen.o Others/Timer.o Others/ForDebug.o Others/RegisterDynamicSymbol.o Manifolds/SPDVector.o Manifolds/OrthGroup/OrthGroupVector.o Manifolds/OrthGroup/OrthGroup.o Manifolds/OrthGroup/OrthGroupVariable.o Manifolds/SPDVariable.o Manifolds/PreShapeCurves/PSCVector.o Manifolds/PreShapeCurves/PreShapeCurves.o Manifolds/PreShapeCurves/PSCVariable.o Manifolds/Stiefel/Stiefel.o Manifolds/Stiefel/StieVector.o Manifolds/Stiefel/StieVariable.o Manifolds/Oblique/Oblique.o Manifolds/Oblique/ObliqueVariable.o Manifolds/Oblique/ObliqueVector.o Manifolds/Euclidean/EucVector.o Manifolds/Euclidean/EucVariable.o Manifolds/Euclidean/Euclidean.o Manifolds/SmartSpace.o Manifolds/ProductElement.o Manifolds/SPDManifold.o Manifolds/Element.o Manifolds/L2Sphere/L2Sphere.o Manifolds/L2Sphere/L2SphereVector.o Manifolds/L2Sphere/L2SphereVariable.o Manifolds/SharedSpace.o Manifolds/LinearOPE.o Manifolds/ProductManifold.o Manifolds/Grassmann/GrassVariable.o Manifolds/Grassmann/GrassVector.o Manifolds/Grassmann/Grassmann.o Manifolds/Sphere/SphereVariable.o Manifolds/Sphere/SphereVector.o Manifolds/Sphere/Sphere.o Manifolds/Manifold.o Manifolds/LowRank/LowRank.o Manifolds/LowRank/LowRankVector.o Manifolds/LowRank/LowRankVariable.o Problems/StieSoftICA/StieSoftICA.o Problems/WeightedLowrank/WeightedLowRank.o Problems/PreShapePathStraighten/PreShapePathStraighten.o Problems/ObliqueTestSparsePCA/ObliqueTestSparsePCA.o Problems/ElasticCurvesRO/DriverElasticCurvesRO.o Problems/ElasticCurvesRO/ElasticCurvesRO.o Problems/StieBrockett/StieBrockett.o Problems/EucFrechetMean/EucFrechetMean.o Problems/StieSumBrockett/StieSumBrockett.o Problems/GrassRQ/GrassRQ.o Problems/mexProblem.o Problems/EucQuadratic/EucQuadratic.o Problems/Problem.o Problems/SPDMean/SPDMean.o Solvers/RBroydenFamily.o Solvers/RSD.o Solvers/RWRBFGS.o Solvers/RTRSR1.o Solvers/LRTRSR1.o Solvers/RTRSD.o Solvers/Solvers.o Solvers/LRBFGS.o Solvers/MRankAdaptive.o Solvers/RCG.o Solvers/SolversLS.o Solvers/SolversTR.o Solvers/RBFGS.o Solvers/RTRNewton.o Solvers/RNewton.o ManifoldOptim/ProblemAdapter.o ManifoldOptim/ManifoldFactory.o ManifoldOptim/Util.o ManifoldOptim/ManifoldOptim.o ManifoldOptim/ManifoldOptimModule.o ManifoldOptim/VariableFactory.o ManifoldOptim/BrockettProblem.o ManifoldOptim/RProblem.o ManifoldOptim/SolverFactory.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ManifoldOptim/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ManifoldOptim/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ManifoldOptim/src'
installing to /data/gannet/ripley/R/packages/tests-clang/ManifoldOptim.Rcheck/00LOCK-ManifoldOptim/00new/ManifoldOptim/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** 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 (ManifoldOptim)