Open anders-wind opened 2 months ago
Does "compiling with clang-18 or 17" mean you are compiling with "C++23"? (found e.g. this "https://stackoverflow.com/questions/71828288/why-is-stdaligned-storage-to-be-deprecated-in-c23-and-what-to-use-instead")
Does "compiling with clang-18 or 17" mean you are compiling with "C++23"? (found e.g. this "https://stackoverflow.com/questions/71828288/why-is-stdaligned-storage-to-be-deprecated-in-c23-and-what-to-use-instead")
Yes we are running with c++23 flags, so yes the deprecation of std::alligned_storage in c++ 23 is the causing issue, not clang-18 or 17 per se. I just wanted to include the information.
Ill improve the wording of the issue
In c++23, std::aligned_storage is being deprecated (The proposed alternative is to use
std::array<std::byte>
). This causes compiler errors with for example clang-17 or 18 with c++23 flags see below.We are getting MPMCqueue with the newest release of vcpkg. To work around this, we just add warning suppressions around it, but getting a real fix for this would be nice.