From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 02A0F3857815; Wed, 10 Feb 2021 22:17:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02A0F3857815 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/99058] Consider adding a note about std::optional ABI break to the C++17 status table Date: Wed, 10 Feb 2021 22:17:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2021 22:17:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99058 --- Comment #6 from Jonathan Wakely --- I think the following doc patch would probably help. --- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml @@ -24,6 +24,8 @@ features. See dialect options. The pre-defined symbol __cplusplus is used to check for the presence of the required flag. +GCC 5.1 was the first release with non-experimental C++11 support, +so the API and ABI of C++11 components is only stable from that release on. diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2014.xml b/libstdc++-v3/doc/xml/manual/status_cxx2014.xml index 61bea5adad5..af4bb6dc736 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2014.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2014.xml @@ -17,6 +17,8 @@ features. See dialect options. The pre-defined symbol __cplusplus is used to check for the presence of the required flag. +GCC 6.1 was the first release with non-experimental C++14 support, +so the API and ABI of C++14 components is only stable from that release on. diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml index aa34b8c3cf5..a3c23ba54e8 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml @@ -17,6 +17,8 @@ features. See dialect options. The pre-defined symbol __cplusplus is used to check for the presence of the required flag. +GCC 9.1 was the first release with non-experimental C++17 support, +so the API and ABI of C++17 components is only stable from that release on. =