* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘rminqa’ ...
** package ‘rminqa’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp1Bk94O/R.INSTALL1c38b22470f251/rminqa/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rbobyqa_example.cpp -o rbobyqa_example.o
In file included from rbobyqa_example.cpp:1:
../inst/include/rbobyqa.h: In instantiation of ‘void rminqa::Rbobyqa<Derived, Partype>::minimize(Derived&, Partype&) [with Derived = Rosen; Partype = std::vector<double>]’:
rbobyqa_example.cpp:38:15:   required from here
   38 |   opt.minimize(rb, x);
      |   ~~~~~~~~~~~~^~~~~~~
../inst/include/rbobyqa.h:76:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   76 |       for(int i = 0; i< npar; i++)lower_[i] = R_NegInf;
      |                      ~^~~~~~
../inst/include/rbobyqa.h:81:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   81 |       for(int i = 0; i< npar; i++)upper_[i] = R_PosInf;
      |                      ~^~~~~~
In file included from ../inst/include/bobyqa.h:202,
                 from ../inst/include/rbobyqa.h:8:
In function ‘void prelim(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, long int, long int, double*, double*, double*, double*, double*, double*, double*, double*, long int, double*, double*, long int*, long int*)’,
    inlined from ‘int bobyqb(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*, double*, double*, double*, double*, double*, double*, double*, double*, long int, double*, double*, double*, double*, double*, double*, double*)’ at ../inst/include/bobyqa_impl.h:502:9,
    inlined from ‘int bobyqa(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*)’ at ../inst/include/bobyqa_impl.h:341:16:
../inst/include/bobyqa_impl.h:1812:25: warning: ‘kopt’ may be used uninitialized [-Wmaybe-uninitialized]
 1812 |     } else if (f < fval[*kopt]) {
      |                         ^~~~~
../inst/include/bobyqa_impl.h: In function ‘int bobyqa(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*)’:
../inst/include/bobyqa_impl.h:452:56: note: ‘kopt’ was declared here
  452 |   INTEGER i, ih, ip, itest, j, jj, jp, k, kbase, knew, kopt, ksav, nf,
      |                                                        ^~~~
In function ‘int bobyqb(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*, double*, double*, double*, double*, double*, double*, double*, double*, long int, double*, double*, double*, double*, double*, double*, double*)’,
    inlined from ‘int bobyqa(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*)’ at ../inst/include/bobyqa_impl.h:341:16:
../inst/include/bobyqa_impl.h:984:9: warning: ‘beta’ may be used uninitialized [-Wmaybe-uninitialized]
  984 |   update(n, npt, &BMAT(1,1), &ZMAT(1,1), ndim, &vlag[1],
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  985 |          beta, denom, knew, &w[1]);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/bobyqa_impl.h: In function ‘int bobyqa(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*)’:
../inst/include/bobyqa_impl.h:447:37: note: ‘beta’ was declared here
  447 |   REAL adelt, alpha, bdtest, bdtol, beta, biglsq, bsum, cauchy, crvmin,
      |                                     ^~~~
In function ‘int bobyqb(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*, double*, double*, double*, double*, double*, double*, double*, double*, long int, double*, double*, double*, double*, double*, double*, double*)’,
    inlined from ‘int bobyqa(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*)’ at ../inst/include/bobyqa_impl.h:341:16:
../inst/include/bobyqa_impl.h:1184:3: warning: ‘ratio’ may be used uninitialized [-Wmaybe-uninitialized]
 1184 |   if (ratio > zero) {
      |   ^~
../inst/include/bobyqa_impl.h: In function ‘int bobyqa(long int, long int, double (*)(long int, const double*, void*), void*, double*, const double*, const double*, double, double, long int, long int, double*)’:
../inst/include/bobyqa_impl.h:450:31: note: ‘ratio’ was declared here
  450 |     gisq, gqsq, hdiag, pqold, ratio, rho, scaden, sum, suma, sumb, sumpq,
      |                               ^~~~~
g++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o rminqa.so RcppExports.o rbobyqa_example.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp1Bk94O/R.INSTALL1c38b22470f251/rminqa/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp1Bk94O/R.INSTALL1c38b22470f251/rminqa/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp1Bk94O/R.INSTALL1c38b22470f251/rminqa/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-rminqa/00new/rminqa/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘rminqa’
    finding HTML links ... done
    bobyqa_rosen_x1                         html  
    bobyqa_rosen_x1e                        html  
    rminqa                                  html  
** 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 (rminqa)