* installing *source* package 'dynsurv' ... ** package 'dynsurv' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/temp/RtmpoTVeVW/R.INSTALL2abc0147a14da/dynsurv/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -I. -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c IntRegPar.cpp -o IntRegPar.o In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from ublas.h:14, from IntRegPar.h:15, from IntRegPar.cpp:10: D:/RCompile/CRANpkg/lib/4.4/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.4/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.4/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.4/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 | ); | ~ | - In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/traits.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:27: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator { | ^~~~~~~~ In file included from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_algobase.h:65, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/algorithm:60, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:16: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator { | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator { | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c arms.c -o arms.o arms.c: In function 'invert': arms.c:448:19: warning: 'xr' may be used uninitialized [-Wmaybe-uninitialized] 448 | if ((p->x < xl) || (p->x > xr))return(1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ arms.c:393:23: note: 'xr' was declared here 393 | double u, xl = 0.0, xr,yl,yr,eyl,eyr,prop; //,z; | ^~ arms.c: In function 'meet': arms.c:759:15: warning: 'gr' may be used uninitialized [-Wmaybe-uninitialized] 759 | dl = (grl - gr) * (q->pr->x - q->pl->x); | ~~~~~^~~~~ arms.c:697:13: note: 'gr' was declared here 697 | double gl,gr,grl,dl,dr; | ^~ arms.c:769:48: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized] 769 | q->y = (dl * q->pr->y + dr * q->pl->y + dl * dr)/(dl + dr); | ~~~^~~~ arms.c:697:23: note: 'dr' was declared here 697 | double gl,gr,grl,dl,dr; | ^~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -I. -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bayesCox.cpp -o bayesCox.o In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/aux_/na_assert.hpp:23, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/arg.hpp:25, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/placeholders.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/vector.hpp:21, from ublas.h:14, from IntRegPar.h:15, from TimeIndepCoxModel.h:16, from bayesCox.cpp:3: D:/RCompile/CRANpkg/lib/4.4/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.4/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.4/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.4/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 | ); | ~ | - In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/traits.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/storage.hpp:27: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator { | ^~~~~~~~ In file included from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_funcs.h:66, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/string:47, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/locale_classes.h:40, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/ios_base.h:41, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/ios:44, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/ostream:40, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/iostream:41, from IntRegPrior.h:14, from TimeIndepCoxModel.h:15: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator { | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator { | ^~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from TimeIndepCoxModel.h:17: TimeIndepModel.h: In instantiation of 'void ir::TimeIndepModel::sampleBeta(const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalPrior&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::TimeIndepCoxPar]': TimeIndepCoxModel.h:78:19: required from 'void ir::TimeIndepCoxModel::gibbsKernel(const Prior&, ir::TimeIndepCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeIndepCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:51:18: required from here TimeIndepModel.h:65:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 65 | int err; | ^~~ TimeIndepModel.h: In instantiation of 'void ir::TimeIndepModel::sampleBeta(const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalPrior&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::TimeIndepCoxPar]': TimeIndepCoxModel.h:78:19: required from 'void ir::TimeIndepCoxModel::gibbsKernel(const Prior&, ir::TimeIndepCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeIndepCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:79:18: required from here TimeIndepModel.h:65:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] In file included from TimeVaryingCoxModel.h:17, from bayesCox.cpp:4: TimeVaryingModel.h: In instantiation of 'void ir::TimeVaryingModel::sampleBeta(const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:108:18: required from here TimeVaryingModel.h:85:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 85 | int err; | ^~~ TimeVaryingModel.h: In instantiation of 'void ir::TimeVaryingModel::sampleBeta(const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:137:18: required from here TimeVaryingModel.h:162:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 162 | int err; | ^~~ TimeVaryingModel.h: In instantiation of 'void ir::TimeVaryingModel::sampleBeta(const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:168:18: required from here TimeVaryingModel.h:85:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 85 | int err; | ^~~ TimeVaryingModel.h: In instantiation of 'void ir::TimeVaryingModel::sampleBeta(const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:197:18: required from here TimeVaryingModel.h:162:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 162 | int err; | ^~~ In file included from DynamicCoxModel.h:17, from bayesCox.cpp:5: DynamicModel.h: In instantiation of 'void ir::DynamicModel::sampleBeta(Size, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:229:18: required from here DynamicModel.h:355:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 355 | int err; | ^~~ DynamicModel.h: In instantiation of 'void ir::DynamicModel::sampleBeta(Size, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:262:18: required from here DynamicModel.h:452:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 452 | int err; | ^~~ DynamicModel.h: In instantiation of 'void ir::DynamicModel::sampleBeta(Size, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel_v2 >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:297:18: required from here DynamicModel.h:355:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 355 | int err; | ^~~ DynamicModel.h: In instantiation of 'void ir::DynamicModel::sampleBeta(Size, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel_v2 >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:329:18: required from here DynamicModel.h:452:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 452 | int err; | ^~~ DynamicModel.h: In instantiation of 'void ir::DynamicModel::sampleBeta(Size, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:364:18: required from here DynamicModel.h:355:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 355 | int err; | ^~~ DynamicModel.h: In instantiation of 'void ir::DynamicModel::sampleBeta(Size, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const boost::numeric::ublas::matrix&, const boost::numeric::ublas::vector&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix&, boost::numeric::ublas::vector&) [with Prior = ir::CoxPrior; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel >; Prior_type = ir::CoxPrior; Size = long long unsigned int]' bayesCox.cpp:397:18: required from here DynamicModel.h:452:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 452 | int err; | ^~~ In file included from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:27, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:27, from D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from IntRegModel.h:18, from TimeIndepModel.h:15: D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeIndepCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::TimeIndepCoxModel >; Y = ir::TimeIndepCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::TimeIndepCoxModel >; T = ir::TimeIndepCoxModel >]' bayesCox.cpp:48:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeIndepCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 44 | delete x; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeIndepCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::TimeIndepCoxModel >; Y = ir::TimeIndepCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::TimeIndepCoxModel >; T = ir::TimeIndepCoxModel >]' bayesCox.cpp:76:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeIndepCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel >; Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel >; T = ir::TimeVaryingCoxModel >]' bayesCox.cpp:104:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel >; Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel >; T = ir::TimeVaryingCoxModel >]' bayesCox.cpp:133:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel >; Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel >; T = ir::TimeVaryingCoxModel >]' bayesCox.cpp:164:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel >; Y = ir::TimeVaryingCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel >; T = ir::TimeVaryingCoxModel >]' bayesCox.cpp:193:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::DynamicCoxModel >; Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::DynamicCoxModel >; T = ir::DynamicCoxModel >]' bayesCox.cpp:224:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::DynamicCoxModel >; Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::DynamicCoxModel >; T = ir::DynamicCoxModel >]' bayesCox.cpp:257:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel_v2 >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel_v2 >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::DynamicCoxModel_v2 >; Y = ir::DynamicCoxModel_v2 >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::DynamicCoxModel_v2 >; T = ir::DynamicCoxModel_v2 >]' bayesCox.cpp:292:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel_v2 >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel_v2 >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel_v2 >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::DynamicCoxModel_v2 >; Y = ir::DynamicCoxModel_v2 >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::DynamicCoxModel_v2 >; T = ir::DynamicCoxModel_v2 >]' bayesCox.cpp:324:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel_v2 >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::DynamicCoxModel >; Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::DynamicCoxModel >; T = ir::DynamicCoxModel >]' bayesCox.cpp:359:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel >]': D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&) [with T = ir::DynamicCoxModel >; Y = ir::DynamicCoxModel >]' D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr::shared_ptr(Y*) [with Y = ir::DynamicCoxModel >; T = ir::DynamicCoxModel >]' bayesCox.cpp:392:40: required from here D:/RCompile/CRANpkg/lib/4.4/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.4/BH/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dynsurv_init.c -o dynsurv_init.o g++ -std=gnu++17 -shared -s -static-libgcc -o dynsurv.dll tmp.def IntRegPar.o arms.o bayesCox.o dynsurv_init.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.0/bin/x64 -lR make[1]: Leaving directory '/d/temp/RtmpoTVeVW/R.INSTALL2abc0147a14da/dynsurv/src' make[1]: Entering directory '/d/temp/RtmpoTVeVW/R.INSTALL2abc0147a14da/dynsurv/src' make[1]: Leaving directory '/d/temp/RtmpoTVeVW/R.INSTALL2abc0147a14da/dynsurv/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-dynsurv/00new/dynsurv/libs/x64 ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'dynsurv' as dynsurv_0.4-6.zip * DONE (dynsurv)