error in BH on CRAN only

24 views
Skip to first unread message

Dieter Menne

unread,
May 8, 2017, 12:13:44 PM5/8/17
to Stan users mailing list
When I tried to submit a package that compiled Ok on travis:

https://travis-ci.org/dmenne/gastempt

to CRAN, I got the following errors

* checking for portable file names ... OK * checking whether package 'gastempt' can be installed ... WARNING Found the following significant warnings: d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/detail/bernoulli_details.hpp:128:36: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/detail/bernoulli_details.hpp:152:9: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] See 'd:/RCompile/CRANincoming/R-devel/gastempt.Rcheck/00install.out' for details.


Any ideas

Dieter
 

Ben Goodrich

unread,
May 8, 2017, 12:21:46 PM5/8/17
to Stan users mailing list

Was that on Windows? You may have to require C++11 for gastempt, which is what we have done for rstanarm on Windows for several months to get around that (or a similar) problem.

Reply all
Reply to author
Forward
0 new messages