* installing *source* package 'MultiBD' ... ** package 'MultiBD' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' using C++11 make[1]: Entering directory '/d/temp/RtmpOy2mnF/R.INSTALL1b1a0208d7338/MultiBD/src' g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BidBj_Cpp.cpp -o BidBj_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from BidBj_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SIR_Cpp.cpp -o SIR_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from SIR_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bb_lt_Cpp.cpp -o bb_lt_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from bb_lt_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bb_lt_invert_Cpp.cpp -o bb_lt_invert_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from bb_lt_invert_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - bb_lt_invert_Cpp.cpp: In instantiation of 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 bbd.h: In instantiation of 'UnaryFunction loops::TbbThreads::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::TbbThreads&)::]': bb_lt_invert_Cpp.cpp:31:18: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::TbbThreads&)::::]': bb_lt_invert_Cpp.cpp:61:26: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Threads&)::]': bb_lt_invert_Cpp.cpp:31:18: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Threads&)::::]': bb_lt_invert_Cpp.cpp:61:26: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11ThreadPool&)::]': bb_lt_invert_Cpp.cpp:31:18: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11ThreadPool&)::::]': bb_lt_invert_Cpp.cpp:61:26: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Async&)::]': bb_lt_invert_Cpp.cpp:31:18: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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 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; UnaryFunction = bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Async&)::::]': bb_lt_invert_Cpp.cpp:61:26: required from 'std::vector bb_lt_invert_Cpp_impl(double, const std::vector&, const std::vector&, 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 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 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"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bbd_lt_Cpp.cpp -o bbd_lt_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from bbd_lt_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bbd_lt_invert_Cpp.cpp -o bbd_lt_invert_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from bbd_lt_invert_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - bbd_lt_invert_Cpp.cpp: In instantiation of 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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.h: In instantiation of 'UnaryFunction loops::TbbThreads::for_each(InputIt, InputIt, UnaryFunction) [with InputIt = boost::iterators::counting_iterator; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::TbbThreads&)::]': bbd_lt_invert_Cpp.cpp:51:18: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::TbbThreads&)::::]': bbd_lt_invert_Cpp.cpp:85:26: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Threads&)::]': bbd_lt_invert_Cpp.cpp:51:18: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Threads&)::::]': bbd_lt_invert_Cpp.cpp:85:26: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11ThreadPool&)::]': bbd_lt_invert_Cpp.cpp:51:18: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11ThreadPool&)::::]': bbd_lt_invert_Cpp.cpp:85:26: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Async&)::]': bbd_lt_invert_Cpp.cpp:51:18: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 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; UnaryFunction = bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, int, int, int, int, double, loops::C11Async&)::::]': bbd_lt_invert_Cpp.cpp:85:26: required from 'std::vector bbd_lt_invert_Cpp_impl(double, int, int, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, const std::vector&, 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 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 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; | ^~~ 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"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c inv_Bk1dBk_Cpp.cpp -o inv_Bk1dBk_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from inv_Bk1dBk_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c lentz_plus_invBk1dBk_Cpp.cpp -o lentz_plus_invBk1dBk_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from lentz_plus_invBk1dBk_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c phi_Cpp.cpp -o phi_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from phi_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c prod_lambda2_Cpp.cpp -o prod_lambda2_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from prod_lambda2_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - prod_lambda2_Cpp.cpp: In function 'std::vector prod_lambda2_Cpp(int, int, int, const std::vector&)': 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 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c prod_mu2_Cpp.cpp -o prod_mu2_Cpp.o In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_categories.hpp:16, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/iterator_adaptor.hpp:14, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/iterator/counting_iterator.hpp:22, from bbd.h:5, from prod_mu2_Cpp.cpp:1: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - prod_mu2_Cpp.cpp: In function 'std::vector prod_mu2_Cpp(int, int, int, const std::vector&)': 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 g++ -shared -s -static-libgcc -o MultiBD.dll tmp.def 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 -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR make[1]: Leaving directory '/d/temp/RtmpOy2mnF/R.INSTALL1b1a0208d7338/MultiBD/src' make[1]: Entering directory '/d/temp/RtmpOy2mnF/R.INSTALL1b1a0208d7338/MultiBD/src' make[1]: Leaving directory '/d/temp/RtmpOy2mnF/R.INSTALL1b1a0208d7338/MultiBD/src' installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-MultiBD/00new/MultiBD/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'MultiBD' as MultiBD_0.2.0.zip * DONE (MultiBD)