-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Cleanup __cplusplus checks #1371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. I had eyed this as upcoming (ie file cleanup / removal) for exceptions_ but not worked it out in any detail and not realized that we can e.g. simplify the LONG_LONG bit. The exceptions bit is also good. I had not realized the RCPP_ADVANCED_EXCEPTION_CLASS by @coatless was not actually use in the C++11 header he defined 😉
I will give all this a drive on the reverse-depends machine, ok? (Where I am slowly adding more to the blacklist to skip the very worst offenders.)
About the Copyright line, I didn't add myself where I just removed code. :) |
It's been a hot minute (~8 years) since I last looked at that; but, wasn't the macro used later on? Rcpp/inst/include/Rcpp/exceptions.h Lines 243 to 244 in fcf959b
|
Yes: @Enchufa2 moved it up a level into the exceptions file itself. What got removed what the C++98-vs-C++11 split and we continue with the latter as a default. See eaa119a for his commit, and #1365 as our governing issue with sub-issues (!!). So I think my hot comment this morning was also partly off. The better news is that even on the sloooow machine used, the reverse depends trains is now at 336 winners, a few skipped and one unrelated fail for lack of (new) build-depends. Moving along... |
All clear from the rev.dep check, as everybody rightly expected. So merging. Thanks for this nice pice of work @Enchufa2 ! |
Following #1371 which used it as its tag
Closes #1370.
Checklist
R CMD check
still passes all tests