public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r10-10576] libstdc++: Deprecate __gnu_cxx::rope::erase(size_type) [PR102048] Date: Tue, 26 Apr 2022 13:13:12 +0000 (GMT) [thread overview] Message-ID: <20220426131312.00B443858009@sourceware.org> (raw) https://gcc.gnu.org/g:dcd1fc4900fd101f8fa22883b6ac31e6f7601373 commit r10-10576-gdcd1fc4900fd101f8fa22883b6ac31e6f7601373 Author: Jonathan Wakely <jwakely@redhat.com> Date: Thu Apr 21 14:12:25 2022 +0100 libstdc++: Deprecate __gnu_cxx::rope::erase(size_type) [PR102048] This function is broken, and has been removed for GCC 11 and 12. Deprecate it for GCC 10. libstdc++-v3/ChangeLog: PR libstdc++/102048 * include/ext/rope (rope::erase(size_type)): Deprecate broken function. Diff: --- libstdc++-v3/include/ext/rope | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/ext/rope b/libstdc++-v3/include/ext/rope index fb7bdb0d6f4..5597ecb8562 100644 --- a/libstdc++-v3/include/ext/rope +++ b/libstdc++-v3/include/ext/rope @@ -2388,7 +2388,7 @@ protected: } // Erase, single character - void + _GLIBCXX_DEPRECATED void erase(size_type __p) { erase(__p, __p + 1); }
reply other threads:[~2022-04-26 13:13 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220426131312.00B443858009@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).