-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build warnings #5
Comments
Hey Matti, I should be able to take a look tonight or tomorrow and help Jonah On Thursday, September 29, 2016, Matti Vuorre notifications@github.com
|
I haven't fully sorted it out yet. @bgoodri have you seen this check error On another note, unless I missed them the package doesn't seem to have Jonah On Thursday, September 29, 2016, Matti Vuorre notifications@github.com
|
I have seen the -Wlong-long warning on Windows and we had to put CXX_STD =
CXX11 into src/Makevars.win to build it with the C++11 standard. I have not
seen the OSX one, but I don't use OSX. What version of clang++ is it and
what optimization level?
|
Thanks, both of you!
I don't know how to answer the question about clang optimization level. The OS X warning might be related to this discussion. (I am currently writing tests and hoping to add them soon. Thanks for this suggestion!) |
I have reproduced the OS X warning on a newer system (mac OS Sierra)
|
You have |
Yeah I can do it this evening. I'll get back to you. On Friday, September 30, 2016, bgoodri notifications@github.com wrote:
|
@bgoodri for me the dev branch passes R CMD check |
OK. Then I would suspect another copy of Boost is lurking on the original On Fri, Sep 30, 2016 at 11:58 PM, Jonah Gabry notifications@github.com
|
OK, it seems like its a local problem on my 2 machines then. I'll investigate and close this issue once I figure out what is causing the warnings. Thank you both so much! |
I can't replicate the issue on other than my personal computers, so it seems that it's a local problem with C++ / Boost. The issue with the package is therefore resolved. |
Currently, bmlm does not pass build cleanly, as detailed in cran-comments.md. I would like to get it to CRAN but am afraid it wont go through with the warnings.
Test environments
R CMD check results
0 errors | 1 warning | 0 notes
Status: 1 WARNING checking compiled code ... WARNING
File ‘bmlm/libs/bmlm.so’:
Found ‘___assert_rtn’, possibly from ‘assert’ (C)
Object: ‘Modules.o’
Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor the system RNG.
Win-builder results
Installation time in seconds: 197 Check time in seconds: 108 Status: 1 WARNING
Found the following significant warnings:
d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/math/special_functions/detail/bernoulli_details.hpp:127:36: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/math/special_functions/detail/bernoulli_details.hpp:151:9: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
See 'd:/RCompile/CRANguest/R-devel/bmlm.Rcheck/00install.out' for details.
Kindly asking if @jgabry has insight on these, what I think are C++ and rstanarm related issues.
The text was updated successfully, but these errors were encountered: