* installing *source* package ‘MultiBD’ ...
** this is package ‘MultiBD’ version ‘0.2.0’
** package ‘MultiBD’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++11
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MultiBD/src'
g++ -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++ -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++ -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++ -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++ -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
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
94 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95 | nblocks, tol, loopTbbThreads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
103 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | nblocks, tol, loopC11Threads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::C11ThreadPool]’:
bb_lt_invert_Cpp.cpp:110:37: required from here
110 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | nblocks, tol, loopC11ThreadPool);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::C11Async]’:
bb_lt_invert_Cpp.cpp:117:37: required from here
117 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 | nblocks, tol, loopC11Async);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::STL]’:
bb_lt_invert_Cpp.cpp:131:37: required from here
131 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | nblocks, tol, loopSTL);
| ~~~~~~~~~~~~~~~~~~~~~~
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
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]’
31 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | [&](int w) {
| ~~~~~~~~~~~~
33 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | ig[w].resize(Ap1*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~
35 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 | });
| ~~
bb_lt_invert_Cpp.cpp:94:37: required from here
94 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95 | nblocks, tol, loopTbbThreads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
61 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | [&](int w) {
| ~~~~~~~~~~~~
63 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | });
| ~~
bb_lt_invert_Cpp.cpp:94:37: required from here
94 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95 | nblocks, tol, loopTbbThreads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::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]’
31 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | [&](int w) {
| ~~~~~~~~~~~~
33 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | ig[w].resize(Ap1*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~
35 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 | });
| ~~
bb_lt_invert_Cpp.cpp:103:37: required from here
103 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | nblocks, tol, loopC11Threads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
61 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | [&](int w) {
| ~~~~~~~~~~~~
63 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | });
| ~~
bb_lt_invert_Cpp.cpp:103:37: required from here
103 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | nblocks, tol, loopC11Threads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
31 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | [&](int w) {
| ~~~~~~~~~~~~
33 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | ig[w].resize(Ap1*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~
35 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 | });
| ~~
bb_lt_invert_Cpp.cpp:110:37: required from here
110 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | nblocks, tol, loopC11ThreadPool);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
61 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | [&](int w) {
| ~~~~~~~~~~~~
63 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | });
| ~~
bb_lt_invert_Cpp.cpp:110:37: required from here
110 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | nblocks, tol, loopC11ThreadPool);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::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]’
31 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | [&](int w) {
| ~~~~~~~~~~~~
33 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | ig[w].resize(Ap1*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~
35 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 | });
| ~~
bb_lt_invert_Cpp.cpp:117:37: required from here
117 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 | nblocks, tol, loopC11Async);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
61 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | [&](int w) {
| ~~~~~~~~~~~~
63 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | bb_lt_Cpp(s,lambda1,lambda2,Ap1,Bp1,direction,yvec,ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | });
| ~~
bb_lt_invert_Cpp.cpp:117:37: required from here
117 | return bb_lt_invert_Cpp_impl(t, lambda1, lambda2, Ap1, Bp1, direction,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 | nblocks, tol, loopC11Async);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
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++ -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
g++ -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
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
122 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | maxdepth, nblocks, tol, loopTbbThreads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
131 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | maxdepth, nblocks, tol, loopC11Threads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
138 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | maxdepth, nblocks, tol, loopC11ThreadPool);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
145 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | maxdepth, nblocks, tol, loopC11Async);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
159 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | maxdepth, nblocks, tol, loopSTL);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
51 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | [&](int w) {
| ~~~~~~~~~~~~
53 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | ig[w].resize((A+1-a0)*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],prod_mu2,prod_lambda2,xvec,yvec_minus_s,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57 | });
| ~~
bbd_lt_invert_Cpp.cpp:122:38: required from here
122 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | maxdepth, nblocks, tol, loopTbbThreads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
85 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | [&](int w) {
| ~~~~~~~~~~~~
87 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | prod_mu2,prod_lambda2,xvec,yvec_minus_s,yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | });
| ~~
bbd_lt_invert_Cpp.cpp:122:38: required from here
122 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | maxdepth, nblocks, tol, loopTbbThreads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::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]’
51 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | [&](int w) {
| ~~~~~~~~~~~~
53 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | ig[w].resize((A+1-a0)*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],prod_mu2,prod_lambda2,xvec,yvec_minus_s,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57 | });
| ~~
bbd_lt_invert_Cpp.cpp:131:38: required from here
131 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | maxdepth, nblocks, tol, loopC11Threads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
85 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | [&](int w) {
| ~~~~~~~~~~~~
87 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | prod_mu2,prod_lambda2,xvec,yvec_minus_s,yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | });
| ~~
bbd_lt_invert_Cpp.cpp:131:38: required from here
131 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | maxdepth, nblocks, tol, loopC11Threads);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
51 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | [&](int w) {
| ~~~~~~~~~~~~
53 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | ig[w].resize((A+1-a0)*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],prod_mu2,prod_lambda2,xvec,yvec_minus_s,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57 | });
| ~~
bbd_lt_invert_Cpp.cpp:138:38: required from here
138 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | maxdepth, nblocks, tol, loopC11ThreadPool);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
85 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | [&](int w) {
| ~~~~~~~~~~~~
87 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | prod_mu2,prod_lambda2,xvec,yvec_minus_s,yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | });
| ~~
bbd_lt_invert_Cpp.cpp:138:38: required from here
138 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | maxdepth, nblocks, tol, loopC11ThreadPool);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::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]’
51 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(kmax),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | [&](int w) {
| ~~~~~~~~~~~~
53 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | ig[w].resize((A+1-a0)*Bp1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],prod_mu2,prod_lambda2,xvec,yvec_minus_s,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57 | });
| ~~
bbd_lt_invert_Cpp.cpp:145:38: required from here
145 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | maxdepth, nblocks, tol, loopC11Async);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
85 | scheme.for_each( boost::make_counting_iterator(0), boost::make_counting_iterator(nblocks),
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | [&](int w) {
| ~~~~~~~~~~~~
87 | mytype::ComplexNumber s(AA/(2*t),double_PI*(w+kmax+1)/t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | ig[w+kmax].resize(matsize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | bbd_lt_Cpp(s,a0,b0,lambda1,lambda2,mu2,gamma,A,Bp1,maxdepth,phi[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | prod_mu2,prod_lambda2,xvec,yvec_minus_s,yvec[scheme.id(w)],lentz_plus_invBk1dBk[scheme.id(w)],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | inv_Bk1dBk[scheme.id(w)],BidBj[scheme.id(w)],ig[w+kmax]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | });
| ~~
bbd_lt_invert_Cpp.cpp:145:38: required from here
145 | return bbd_lt_invert_Cpp_impl(t, a0, b0, lambda1, lambda2, mu2, gamma, x, y, A, Bp1,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | maxdepth, nblocks, tol, loopC11Async);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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) {
| ~~^~~~~~~~~~~~~~
g++ -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 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++ -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++ -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++ -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++ -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++ -std=gnu++11 -shared -L/usr/local/lib64 -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)