We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ObjectStorage is using std::aligned_storage, but C++23 deprecates it, causing warnings in projects that already use -std=c++2b.
ObjectStorage
std::aligned_storage
-std=c++2b
The text was updated successfully, but these errors were encountered:
ObjectStorage: port away from std::aligned_storage
ca45581
It's deprecated in C++23. Just use alignas on a char array, wrapped in a struct to avoid decaying to char*, which is the canonical implementation of aligned_storage: https://en.cppreference.com/w/cpp/types/aligned_storage#Possible_implementation Fixes #2419 Catch3 is not affected.
@horenmar Do you still plan to make a 2.13.10 release, or should Catch2 users now simply use HEAD?
Sorry, something went wrong.
I completely forgot there were meaningful changes there.
https://github.com/catchorg/Catch2/releases/tag/v2.13.10
No branches or pull requests
ObjectStorage
is usingstd::aligned_storage
, but C++23 deprecates it, causing warnings in projects that already use-std=c++2b
.The text was updated successfully, but these errors were encountered: