-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
long long warnings in algorithm.h #502
Comments
nathan-russell
added a commit
to nathan-russell/Rcpp
that referenced
this issue
Jul 10, 2016
Nice. I was honing in on a release but I think I'll take this one (and will of course run another set of rev.dep checks). |
Merged
eddelbuettel
added a commit
that referenced
this issue
Jul 12, 2016
Fixed in #503 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per @dcdillon's comment in #501,
in reference to @thirdwing's compiler output,
I have also been experiencing this with more recent versions of Rcpp (since the addition of algorithm.h). As far as I can tell, this only happens when compiling with
clang
and passing the-pedantic
flag:Using
g++
with the same compiler flags, I do not get these warnings. Replacinglong long
andunsigned long long
withrcpp_long_long_type
andrcpp_ulong_long_type
, respectively, seems to fix this. I can submit a PR if there are no objections with this approach.The text was updated successfully, but these errors were encountered: