boostorg / fiber

userland threads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

std::aligned_storage raises deprecation warning with the latest gcc 13 and C++23 (to be released in about 1 month and a half)

Romain-Geissler-1A opened this issue · comments

Hi,

We try to compile a project which depends on boost::fiber, using a bleeding edge toolchain (ie using gcc 13 which will be released in 1 month and a half) and using C++23. In this version, libstdc++ has explicitly deprecated std::aligned_storage, as required by the standard.

I am not sure how you want to cope with this. You may:

Cheers,
Romain

Note: there is also boost::aligned_storage defined in boost/type_traits/aligned_storage.hpp, yet I am not sure this is actually the direction the standard wanted you to follow when deprecating the std one !