* installing *source* package 'rminqa' ...
** package 'rminqa' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
using C++11
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpGcKjlo/R.INSTALL1d8943bc31baa/rminqa/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -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
../inst/include/rbobyqa.h:76:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long 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 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 rescue(long int, long int, double (*)(long int, const double*, void*), void*, const double*, const double*, long int, long int, double*, double*, double*, double*, double*, double*, double*, double*, double*, long int, double*, double*, long int*, double, long int*, double*, double*, double*, double*)',
    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:704: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:68:30: warning: 'ihp' may be used uninitialized [-Wmaybe-uninitialized]
   68 | #define MAX(a,b) ((a) >= (b) ? (a) : (b))
      |                  ~~~~~~~~~~~~^~~~~~~~~~~~
../inst/include/bobyqa_impl.h:2269:14: note: in expansion of macro 'MAX'
 2269 |         iw = MAX(ihp,ihq) - (ip >= iq ? ip - iq : iq - ip);
      |              ^~~
../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:1931:18: note: 'ihp' was declared here
 1931 |   INTEGER i, ih, ihp, ihq, ip, iq, iw, j, jp, jpn, k, knew, kold, kpt,
      |                  ^~~
In function 'void rescue(long int, long int, double (*)(long int, const double*, void*), void*, const double*, const double*, long int, long int, double*, double*, double*, double*, double*, double*, double*, double*, double*, long int, double*, double*, long int*, double, long int*, double*, double*, double*, double*)',
    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:704: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:2270:20: warning: 'xp' may be used uninitialized [-Wmaybe-uninitialized]
 2270 |         vquad += xp*xq*hq[iw];
      |                  ~~^~~
../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:1930:51: note: 'xp' was declared here
 1930 |     sfrac, sum, sumpq, temp, vlmxsq, vquad, winc, xp, xq;
      |                                                   ^~
g++ -shared -s -static-libgcc -o rminqa.dll tmp.def RcppExports.o rbobyqa_example.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpGcKjlo/R.INSTALL1d8943bc31baa/rminqa/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpGcKjlo/R.INSTALL1d8943bc31baa/rminqa/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpGcKjlo/R.INSTALL1d8943bc31baa/rminqa/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-rminqa/00new/rminqa/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'rminqa' as rminqa_0.2.2.zip
* DONE (rminqa)