public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/114926] New: Add way to silence deprecation warning for fs::u8path
@ 2024-05-02 15:44 fabian_kessler at gmx dot de
  0 siblings, 0 replies; only message in thread
From: fabian_kessler at gmx dot de @ 2024-05-02 15:44 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-02 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 15:44 [Bug libstdc++/114926] New: Add way to silence deprecation warning for fs::u8path fabian_kessler at gmx dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).