aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-18 14:27:55 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-18 21:47:58 +0000
commit33237e93d59ee7bb215cd5b726880bcbd679bb36 (patch)
tree7af228b8a2e835bd63fcf3c09d70460177270405 /gcc
parent26c68b8c31f637cc01f4bf511f9a0ca714231161 (diff)
downloadgcc-33237e93d59ee7bb215cd5b726880bcbd679bb36.zip
gcc-33237e93d59ee7bb215cd5b726880bcbd679bb36.tar.gz
gcc-33237e93d59ee7bb215cd5b726880bcbd679bb36.tar.bz2
libstdc++: Deprecate std::filesystem::u8path for C++20
P0482R6 deprecated these functions for C++20. There was a ballot comment on the C++23 CD saying to un-deprecate it, but LEWG just rejected that, so let's add attributes to deprecate them. libstdc++-v3/ChangeLog: * include/bits/fs_path.h (u8path): Add deprecated attribute. * testsuite/27_io/filesystem/path/construct/90281.cc: Add -Wno-deprecated-declarations for C++20 and later. * testsuite/27_io/filesystem/path/factory/u8path-char8_t.cc: Likewise. * testsuite/27_io/filesystem/path/factory/u8path.cc: Likewise. * testsuite/27_io/filesystem/path/native/string.cc: Likewise. * testsuite/27_io/filesystem/path/factory/u8path-depr.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions