* installing *source* package 'dynsurv' ... ** package 'dynsurv' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_11_23_01_50_00_3284/Rtmp4olQMj/R.INSTALLd2f8397631ae/dynsurv/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -I. -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c IntRegPar.cpp -o IntRegPar.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/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.5/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.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<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<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_<Pred>::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_<Pred>::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/traits.hpp:21, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/storage.hpp:27: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.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.3.0\include\c++\algorithm:60, from D:/RCompile/CRANpkg/lib/4.5/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.3.0\include\c++\bits\stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.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/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.5/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/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -I. -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c bayesCox.cpp -o bayesCox.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/mpl/apply.hpp:24, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/serialization/array_optimization.hpp:18, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/serialization/array_wrapper.hpp:21, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/serialization/array.hpp:26, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/storage.hpp:22, from D:/RCompile/CRANpkg/lib/4.5/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.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<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<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_<Pred>::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_<Pred>::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/traits.hpp:21, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/storage.hpp:27: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.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.3.0\include\c++\string:47, from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.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.3.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.3.0\include\c++\ios:44, from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\ostream:40, from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.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.3.0\include\c++\bits\stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.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<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalPrior&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalPrior>; Par = ir::TimeIndepCoxPar]': TimeIndepCoxModel.h:78:19: required from 'void ir::TimeIndepCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeIndepCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalPrior>; 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<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalPrior&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior>; Par = ir::TimeIndepCoxPar]': TimeIndepCoxModel.h:78:19: required from 'void ir::TimeIndepCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeIndepCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior>; 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<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; 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<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; 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<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; 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<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; Par = ir::TimeVaryingCoxPar]': TimeVaryingCoxModel.h:78:19: required from 'void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; 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<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; 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<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; 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<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior>; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior>; 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<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior>; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior>; 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<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; 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<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; Par = ir::DynamicCoxPar; Size = long long unsigned int]': DynamicCoxModel.h:136:23: required from 'void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>]' GibbsSampler.h:94:21: required from 'void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; 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.5/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:27, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:27, from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from IntRegModel.h:18, from TimeIndepModel.h:15: D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >; Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >; T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]' bayesCox.cpp:48:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 44 | delete x; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >; Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >; T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]' bayesCox.cpp:76:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]' bayesCox.cpp:104:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]' bayesCox.cpp:133:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]' bayesCox.cpp:164:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]' bayesCox.cpp:193:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]' bayesCox.cpp:224:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]' bayesCox.cpp:257:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/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<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >; Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >; T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]' bayesCox.cpp:292:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/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<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >; Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >; T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]' bayesCox.cpp:324:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]' bayesCox.cpp:359:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]': D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34: required from 'boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20: required from 'void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]' D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44: required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]' bayesCox.cpp:392:40: required from here D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type 'ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'D:/RCompile/CRANpkg/lib/4.5/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/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_11_23_01_50_00_3284/Rtmp4olQMj/R.INSTALLd2f8397631ae/dynsurv/src' make[1]: Entering directory '/d/temp/2024_11_23_01_50_00_3284/Rtmp4olQMj/R.INSTALLd2f8397631ae/dynsurv/src' make[1]: Leaving directory '/d/temp/2024_11_23_01_50_00_3284/Rtmp4olQMj/R.INSTALLd2f8397631ae/dynsurv/src' installing to d:/Rcompile/CRANpkg/lib/4.5/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-7.zip * DONE (dynsurv)