* installing *source* package ‘dynsurv’ ... ** package ‘dynsurv’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-14 (GCC) 14.2.0’ using C++ compiler: ‘g++-14 (GCC) 14.2.0’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/dynsurv/src' g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -I. -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c IntRegPar.cpp -o IntRegPar.o gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c arms.c -o arms.o arms.c: In function 'meet': 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; | ^~ 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; | ^~ g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -I. -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c bayesCox.cpp -o bayesCox.o In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/traits.hpp:21, from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/storage.hpp:27, from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/vector.hpp:21, from ublas.h:14, from IntRegPar.h:15, from IntRegPar.cpp:10: /data/gannet/ripley/R/test-dev/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 /usr/local/gcc14/include/c++/14.2.0/bits/stl_algobase.h:65, from /usr/local/gcc14/include/c++/14.2.0/algorithm:60, from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/storage.hpp:16: /usr/local/gcc14/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> { | ^~~~~~~~ /usr/local/gcc14/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> { | ^~~~~~~~ /usr/local/gcc14/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0 -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c dynsurv_init.c -o dynsurv_init.o In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/traits.hpp:21, from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/storage.hpp:27, from /data/gannet/ripley/R/test-dev/BH/include/boost/numeric/ublas/vector.hpp:21, from ublas.h:14, from IntRegPar.h:15, from TimeIndepCoxModel.h:16, from bayesCox.cpp:3: /data/gannet/ripley/R/test-dev/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 /usr/local/gcc14/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66, from /usr/local/gcc14/include/c++/14.2.0/string:47, from /usr/local/gcc14/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/local/gcc14/include/c++/14.2.0/bits/ios_base.h:41, from /usr/local/gcc14/include/c++/14.2.0/ios:44, from /usr/local/gcc14/include/c++/14.2.0/ostream:40, from /usr/local/gcc14/include/c++/14.2.0/iostream:41, from IntRegPrior.h:14, from TimeIndepCoxModel.h:15: /usr/local/gcc14/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> { | ^~~~~~~~ /usr/local/gcc14/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> { | ^~~~~~~~ /usr/local/gcc14/include/c++/14.2.0/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>]' 78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:51:18: required from here 51 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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>]' 78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:79:18: required from here 79 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TimeIndepModel.h:65:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 65 | int err; | ^~~ 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>]' 78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:108:18: required from here 108 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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>]' 78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:137:18: required from here 137 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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>]' 78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:168:18: required from here 168 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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>]' 78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:197:18: required from here 197 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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>]' 136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:229:18: required from here 229 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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>]' 136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:262:18: required from here 262 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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>]' 136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:297:18: required from here 297 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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>]' 136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:329:18: required from here 329 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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>]' 136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:364:18: required from here 364 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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>]' 136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | prior.coef_prior, par.beta, par.nu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 unsigned int]' 94 | pm_->gibbsKernel(prior, par); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bayesCox.cpp:397:18: required from here 397 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DynamicModel.h:452:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] 452 | int err; | ^~~ In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:27, from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:27, from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from IntRegModel.h:18, from TimeIndepModel.h:15: /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:48:40: required from here 48 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:76:40: required from here 76 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:104:40: required from here 104 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:133:40: required from here 133 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:164:40: required from here 164 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:193:40: required from here 193 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:224:40: required from here 224 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:257:40: required from here 257 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:292:40: required from here 292 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:324:40: required from here 324 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:359:40: required from here 359 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]': /data/gannet/ripley/R/test-dev/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> >]' 154 | boost::checked_delete( p ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /data/gannet/ripley/R/test-dev/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> >]' 280 | boost::detail::shared_count( p ).swap( pn ); | ^~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-dev/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> >]' 374 | boost::detail::sp_pointer_construct( this, p, pn ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ bayesCox.cpp:392:40: required from here 392 | boost::shared_ptr<M> pm(new M(pd)); | ^ /data/gannet/ripley/R/test-dev/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] 44 | delete x; | ^~~~~~~~ g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o dynsurv.so IntRegPar.o arms.o bayesCox.o dynsurv_init.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/dynsurv/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/dynsurv/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/dynsurv/src' installing to /data/gannet/ripley/R/packages/tests-devel/dynsurv.Rcheck/00LOCK-dynsurv/00new/dynsurv/libs ** 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 ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (dynsurv)