Skip to content

Support C++26 via plugin (closes #1380) #1381

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

Merged
merged 2 commits into from
May 6, 2025
Merged

Support C++26 via plugin (closes #1380) #1381

merged 2 commits into from
May 6, 2025

Conversation

eddelbuettel
Copy link
Member

New R version support C++26. My R 4.5.0 installation has it in its Makeconf, albeit empty (as supposefly the compiler iot met at configure time for this binary was too old). My local R-devel installation has it, and works with what is proposed here (using g++-14). Also rolled the micro version as we commonly do to mark small changes such as this and the preceding PR.

Checklist

  • Code compiles correctly
  • R CMD check still passes all tests
  • Preferably, new tests were added which fail without the change
  • Document the changes by file in ChangeLog

Tested locally and had success with R-devel but not R-release but that may
well be due to my R-release being the packaged .deb built with a more
conservative g++ version.  A local R 4.5.0 should also work with proper g++
or clang++
Copy link
Member

@Enchufa2 Enchufa2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@eddelbuettel eddelbuettel merged commit dcd5779 into master May 6, 2025
22 checks passed
@eddelbuettel eddelbuettel deleted the feature/cxx26 branch May 6, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants