https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114926

            Bug ID: 114926
           Summary: Add way to silence deprecation warning for fs::u8path
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fabian_kessler at gmx dot de
  Target Milestone: ---

The deprecation of fs::u8path is in my eyes too early for c++20, since there is
no way to reinterpret a char sequence a char8_t sequence without UB.
Without having a capability to do this like suggested in
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2626r0.pdf , people
have to use fs::u8path and since it is not removed in c++23 and 26, those want
to just silence the warning.

MSVC-STL has the _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING definition.

Reply via email to