* installing *source* package 'bbl' ...
** package 'bbl' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/RtmpeoqZqa/R.INSTALL16b102eb35334/bbl/src'
g++ -std=gnu++17  -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"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -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"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c bfgs.cpp -o bfgs.o
In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:76,
                 from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27,
                 from bfgs.cpp:9:
bfgs.cpp: In function 'double lpr_psl(int, const std::vector<std::vector<short int> >&, const std::vector<int>&, const std::vector<bool>&, const std::vector<short int>&, double, double, std::vector<double>&, std::vector<std::vector<double> >&, int, unsigned int, double, int, double&, bool, bool&, bool)':
D:/RCompile/recent/R/include/Rmath.h:219:25: error: 'gsl_multimin_function_fdf' {aka 'struct gsl_multimin_function_fdf_struct'} has no member named 'Rf_df'; did you mean 'fdf'?
  219 | #define df              Rf_df
      |                         ^~~~~
bfgs.cpp:263:11: note: in expansion of macro 'df'
  263 |   my_func.df=dlnl_psl;
      |           ^~
bfgs.cpp: In function 'void f12(int, const std::vector<std::vector<short int> >&, const std::vector<int>&, std::vector<double>&, std::vector<std::vector<double> >&, const std::vector<short int>&, bool, double)':
bfgs.cpp:367:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  367 |         for(unsigned int l1=0; l1<Lj; l1++){
      |                                ~~^~~
bfgs.cpp:375:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  375 |         for(unsigned int l1=0; l1<Lj; l1++)
      |                                ~~^~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: bfgs.o] Error 1
make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpeoqZqa/R.INSTALL16b102eb35334/bbl/src'
ERROR: compilation failed for package 'bbl'
* removing 'd:/Rcompile/CRANpkg/lib/4.5/bbl'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/bbl'