* installing *source* package ‘MultiBD’ ...
** package ‘MultiBD’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
using C++11
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MultiBD/src'
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c BidBj_Cpp.cpp -o BidBj_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c SIR_Cpp.cpp -o SIR_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c bb_lt_Cpp.cpp -o bb_lt_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c bb_lt_invert_Cpp.cpp -o bb_lt_invert_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c bbd_lt_Cpp.cpp -o bbd_lt_Cpp.o
bb_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::TbbThreads]':
bb_lt_invert_Cpp.cpp:94:37:   required from here
bb_lt_invert_Cpp.cpp:80:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
   80 |   return(std::move(res));
      |                        ^
bb_lt_invert_Cpp.cpp:80:24: note: remove 'std::move' call
bb_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Threads]':
bb_lt_invert_Cpp.cpp:103:37:   required from here
bb_lt_invert_Cpp.cpp:80:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
bb_lt_invert_Cpp.cpp:80:24: note: remove 'std::move' call
bb_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11ThreadPool]':
bb_lt_invert_Cpp.cpp:110:37:   required from here
bb_lt_invert_Cpp.cpp:80:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
bb_lt_invert_Cpp.cpp:80:24: note: remove 'std::move' call
bb_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Async]':
bb_lt_invert_Cpp.cpp:117:37:   required from here
bb_lt_invert_Cpp.cpp:80:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
bb_lt_invert_Cpp.cpp:80:24: note: remove 'std::move' call
bb_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::STL]':
bb_lt_invert_Cpp.cpp:131:37:   required from here
bb_lt_invert_Cpp.cpp:80:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
bb_lt_invert_Cpp.cpp:80:24: note: remove 'std::move' call
In file included from bb_lt_invert_Cpp.cpp:1:
bbd.h: In instantiation of 'UnaryFunction loops::TbbThreads::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::TbbThreads>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::TbbThreads&)::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:31:18:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::TbbThreads]'
bb_lt_invert_Cpp.cpp:94:37:   required from here
bbd.h:244:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  244 |           for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                           ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::TbbThreads::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::TbbThreads>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::TbbThreads&)::<lambda(int)>::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:61:26:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::TbbThreads]'
bb_lt_invert_Cpp.cpp:94:37:   required from here
bbd.h:244:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
bbd.h: In instantiation of 'UnaryFunction loops::C11Threads::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::C11Threads>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Threads&)::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:31:18:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Threads]'
bb_lt_invert_Cpp.cpp:103:37:   required from here
bbd.h:285:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  285 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:301:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  301 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11Threads::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::C11Threads>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Threads&)::<lambda(int)>::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:61:26:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Threads]'
bb_lt_invert_Cpp.cpp:103:37:   required from here
bbd.h:285:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  285 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:301:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  301 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11ThreadPool::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::C11ThreadPool>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11ThreadPool&)::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:31:18:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11ThreadPool]'
bb_lt_invert_Cpp.cpp:110:37:   required from here
bbd.h:368:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  368 |                         for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                         ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11ThreadPool::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::C11ThreadPool>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11ThreadPool&)::<lambda(int)>::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:61:26:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11ThreadPool]'
bb_lt_invert_Cpp.cpp:110:37:   required from here
bbd.h:368:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
bbd.h: In instantiation of 'UnaryFunction loops::C11Async::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::C11Async>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Async&)::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:31:18:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Async]'
bb_lt_invert_Cpp.cpp:117:37:   required from here
bbd.h:326:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  326 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:343:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  343 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11Async::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bb_lt_invert_Cpp_impl<loops::C11Async>(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Async&)::<lambda(int)>::<lambda(int)>]':
bb_lt_invert_Cpp.cpp:61:26:   required from 'std::vector<double> bb_lt_invert_Cpp_impl(double, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Async]'
bb_lt_invert_Cpp.cpp:117:37:   required from here
bbd.h:326:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  326 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:343:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  343 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bb_lt_invert_Cpp.cpp: In lambda function:
bb_lt_invert_Cpp.cpp:72:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   72 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bb_lt_invert_Cpp.cpp:48:17: note: 'sk1' was declared here
   48 |       double sk,sk1;
      |                 ^~~
bb_lt_invert_Cpp.cpp: In lambda function:
bb_lt_invert_Cpp.cpp:72:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   72 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bb_lt_invert_Cpp.cpp:48:17: note: 'sk1' was declared here
   48 |       double sk,sk1;
      |                 ^~~
bb_lt_invert_Cpp.cpp: In lambda function:
bb_lt_invert_Cpp.cpp:72:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   72 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bb_lt_invert_Cpp.cpp:48:17: note: 'sk1' was declared here
   48 |       double sk,sk1;
      |                 ^~~
bb_lt_invert_Cpp.cpp: In lambda function:
bb_lt_invert_Cpp.cpp:72:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   72 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bb_lt_invert_Cpp.cpp:48:17: note: 'sk1' was declared here
   48 |       double sk,sk1;
      |                 ^~~
bb_lt_invert_Cpp.cpp: In lambda function:
bb_lt_invert_Cpp.cpp:72:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   72 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bb_lt_invert_Cpp.cpp:48:17: note: 'sk1' was declared here
   48 |       double sk,sk1;
      |                 ^~~
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c bbd_lt_invert_Cpp.cpp -o bbd_lt_invert_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c inv_Bk1dBk_Cpp.cpp -o inv_Bk1dBk_Cpp.o
bbd_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::TbbThreads]':
bbd_lt_invert_Cpp.cpp:122:38:   required from here
bbd_lt_invert_Cpp.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
   25 |   for (int i = 0; i < size; ++i) {
      |                   ~~^~~~~~
bbd_lt_invert_Cpp.cpp:107:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  107 |   return(std::move(res));
      |                        ^
bbd_lt_invert_Cpp.cpp:107:24: note: remove 'std::move' call
bbd_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Threads]':
bbd_lt_invert_Cpp.cpp:131:38:   required from here
bbd_lt_invert_Cpp.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
   25 |   for (int i = 0; i < size; ++i) {
      |                   ~~^~~~~~
bbd_lt_invert_Cpp.cpp:107:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  107 |   return(std::move(res));
      |                        ^
bbd_lt_invert_Cpp.cpp:107:24: note: remove 'std::move' call
bbd_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11ThreadPool]':
bbd_lt_invert_Cpp.cpp:138:38:   required from here
bbd_lt_invert_Cpp.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
   25 |   for (int i = 0; i < size; ++i) {
      |                   ~~^~~~~~
bbd_lt_invert_Cpp.cpp:107:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  107 |   return(std::move(res));
      |                        ^
bbd_lt_invert_Cpp.cpp:107:24: note: remove 'std::move' call
bbd_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Async]':
bbd_lt_invert_Cpp.cpp:145:38:   required from here
bbd_lt_invert_Cpp.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
   25 |   for (int i = 0; i < size; ++i) {
      |                   ~~^~~~~~
bbd_lt_invert_Cpp.cpp:107:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  107 |   return(std::move(res));
      |                        ^
bbd_lt_invert_Cpp.cpp:107:24: note: remove 'std::move' call
bbd_lt_invert_Cpp.cpp: In instantiation of 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::STL]':
bbd_lt_invert_Cpp.cpp:159:38:   required from here
bbd_lt_invert_Cpp.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
   25 |   for (int i = 0; i < size; ++i) {
      |                   ~~^~~~~~
bbd_lt_invert_Cpp.cpp:107:24: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  107 |   return(std::move(res));
      |                        ^
bbd_lt_invert_Cpp.cpp:107:24: note: remove 'std::move' call
In file included from bbd_lt_invert_Cpp.cpp:1:
bbd.h: In instantiation of 'UnaryFunction loops::TbbThreads::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::TbbThreads>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::TbbThreads&)::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:51:18:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::TbbThreads]'
bbd_lt_invert_Cpp.cpp:122:38:   required from here
bbd.h:244:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  244 |           for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                           ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::TbbThreads::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::TbbThreads>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::TbbThreads&)::<lambda(int)>::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:85:26:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::TbbThreads]'
bbd_lt_invert_Cpp.cpp:122:38:   required from here
bbd.h:244:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
bbd.h: In instantiation of 'UnaryFunction loops::C11Threads::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::C11Threads>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Threads&)::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:51:18:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Threads]'
bbd_lt_invert_Cpp.cpp:131:38:   required from here
bbd.h:285:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  285 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:301:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  301 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11Threads::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::C11Threads>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Threads&)::<lambda(int)>::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:85:26:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Threads]'
bbd_lt_invert_Cpp.cpp:131:38:   required from here
bbd.h:285:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  285 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:301:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  301 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11ThreadPool::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::C11ThreadPool>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11ThreadPool&)::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:51:18:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11ThreadPool]'
bbd_lt_invert_Cpp.cpp:138:38:   required from here
bbd.h:368:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  368 |                         for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                         ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11ThreadPool::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::C11ThreadPool>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11ThreadPool&)::<lambda(int)>::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:85:26:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11ThreadPool]'
bbd_lt_invert_Cpp.cpp:138:38:   required from here
bbd.h:368:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
bbd.h: In instantiation of 'UnaryFunction loops::C11Async::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::C11Async>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Async&)::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:51:18:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Async]'
bbd_lt_invert_Cpp.cpp:145:38:   required from here
bbd.h:326:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  326 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:343:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  343 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h: In instantiation of 'UnaryFunction loops::C11Async::for_each(InputIt, InputIt, UnaryFunction) const [with InputIt = boost::iterators::counting_iterator<int, boost::use_default, boost::use_default>; UnaryFunction = bbd_lt_invert_Cpp_impl<loops::C11Async>(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, loops::C11Async&)::<lambda(int)>::<lambda(int)>]':
bbd_lt_invert_Cpp.cpp:85:26:   required from 'std::vector<double> bbd_lt_invert_Cpp_impl(double, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, int, int, int, int, double, ParallelizationScheme&) [with ParallelizationScheme = loops::C11Async]'
bbd_lt_invert_Cpp.cpp:145:38:   required from here
bbd.h:326:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  326 |                                 for (int i = 0; i < nThreads - 1; ++i, start += chunkSize) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd.h:343:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  343 |                                 for (int i = 0; i < nThreads - 1; ++i) {
      |                                                 ~~^~~~~~~~~~~~~~
bbd_lt_invert_Cpp.cpp: In lambda function:
bbd_lt_invert_Cpp.cpp:98:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   98 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bbd_lt_invert_Cpp.cpp:70:17: note: 'sk1' was declared here
   70 |       double sk,sk1;
      |                 ^~~
bbd_lt_invert_Cpp.cpp: In lambda function:
bbd_lt_invert_Cpp.cpp:98:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   98 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bbd_lt_invert_Cpp.cpp:70:17: note: 'sk1' was declared here
   70 |       double sk,sk1;
      |                 ^~~
bbd_lt_invert_Cpp.cpp: In lambda function:
bbd_lt_invert_Cpp.cpp:98:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   98 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bbd_lt_invert_Cpp.cpp:70:17: note: 'sk1' was declared here
   70 |       double sk,sk1;
      |                 ^~~
bbd_lt_invert_Cpp.cpp: In lambda function:
bbd_lt_invert_Cpp.cpp:98:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   98 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bbd_lt_invert_Cpp.cpp:70:17: note: 'sk1' was declared here
   70 |       double sk,sk1;
      |                 ^~~
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c lentz_plus_invBk1dBk_Cpp.cpp -o lentz_plus_invBk1dBk_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c phi_Cpp.cpp -o phi_Cpp.o
bbd_lt_invert_Cpp.cpp: In lambda function:
bbd_lt_invert_Cpp.cpp:98:19: warning: 'sk1' may be used uninitialized [-Wmaybe-uninitialized]
   98 |       res[i] = sk1*exp(AA/2);
      |                ~~~^~~~~~~~~~
bbd_lt_invert_Cpp.cpp:70:17: note: 'sk1' was declared here
   70 |       double sk,sk1;
      |                 ^~~
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c prod_lambda2_Cpp.cpp -o prod_lambda2_Cpp.o
g++-13 -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c prod_mu2_Cpp.cpp -o prod_mu2_Cpp.o
prod_mu2_Cpp.cpp: In function 'std::vector<double> prod_mu2_Cpp(int, int, int, const std::vector<double>&)':
prod_mu2_Cpp.cpp:21:19: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
   21 |   return(std::move(res));
      |         ~~~~~~~~~~^~~~~~
prod_mu2_Cpp.cpp:21:19: note: remove 'std::move' call
prod_lambda2_Cpp.cpp: In function 'std::vector<double> prod_lambda2_Cpp(int, int, int, const std::vector<double>&)':
prod_lambda2_Cpp.cpp:21:19: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
   21 |   return(std::move(res));
      |         ~~~~~~~~~~^~~~~~
prod_lambda2_Cpp.cpp:21:19: note: remove 'std::move' call
g++-13 -std=gnu++11 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o MultiBD.so BidBj_Cpp.o RcppExports.o SIR_Cpp.o bb_lt_Cpp.o bb_lt_invert_Cpp.o bbd_lt_Cpp.o bbd_lt_invert_Cpp.o inv_Bk1dBk_Cpp.o lentz_plus_invBk1dBk_Cpp.o phi_Cpp.o prod_lambda2_Cpp.o prod_mu2_Cpp.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MultiBD/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MultiBD/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MultiBD/src'
installing to /data/gannet/ripley/R/packages/tests-devel/MultiBD.Rcheck/00LOCK-MultiBD/00new/MultiBD/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (MultiBD)