Skip to content
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

update to C++14 standard #400

Merged
merged 8 commits into from
Jun 8, 2024
Merged

update to C++14 standard #400

merged 8 commits into from
Jun 8, 2024

Conversation

conradsnicta
Copy link
Contributor

Update C++ standard to C++14.

mlpack 4.4 already requires C++17, and Armadillo 14.0 will use C++14.

The only OS that required C++11 is RHEL 7 / CentOS 7, which is EOL as of 30 June 2024:

Using "two most recent releases of long term Linux distros" as the yardstick for compiler support. The Linux distros are: RHEL (+ clones like Rocky Linux and Alma Linux), Ubuntu LTS, and Debian.

The current two supported releases of RHEL (8 and 9), Ubuntu LTS (22.04 and 24.04), Debian (11 and 12) all provide GCC versions that support at least C++14.

RHEL 8 does not support C++17 properly, so not bumping the C++ standard to C++17.

@rcurtin
Copy link
Member

rcurtin commented Jun 8, 2024

Awesome, I actually did not know about [[deprecated]], nice cleanup. I'll do the same for mlpack and we can get rid of mlpack_deprecated 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants