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

Fix C++20 Compilation of memory.h header #14

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

DevFdv
Copy link

@DevFdv DevFdv commented Jul 29, 2022

Minor changes are required to compile the Geogram library with C++20: Removing occurrences of deprecated/removed functions from std::Allocator.

Tested compilation on GCC 12.1 and Clang 14 for C++20 compilation
Tested compatibility with older compilers with GCC 7.5 with default compilation options

Those changes may not be sufficient to compile the whole code-base in C++20. At least, most headers of the Geogram library can be included in a C++20-based project with this change

@BrunoLevy BrunoLevy merged commit c8a40e5 into BrunoLevy:main Jul 29, 2022
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