On 13/08/20 16:37 +0100, Jonathan Wakely wrote:
These headers do not offer any tangible benefit compared to the default c_global version. They are not actively maintained meaning that they have bugs which have already been fixed for the c_global headers.This change adds a warning if they are used, and requires a new --enable-cheaders-obsolete option to allow their use. Unless we receive reports from users who rely on the c_std headers they should be removed at some point in future. libstdc++-v3/ChangeLog: * acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Warn if the c_std option is used and fail unless --enable-cheaders-obsolete is also used. * configure: Regenerate. Tested powerpc64le-linux. Committed to trunk.
And this is the change for the release notes. Pushed to wwwdocs.
commit fb20e4dc5242fb245187dd0294f316b5136c8c7d Author: Jonathan Wakely <[email protected]> Date: Thu Aug 13 16:37:58 2020 +0100 Libstdc++ cheaders=c_std configuration is deprecated diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html index 1975c6c0..8526b87a 100644 --- a/htdocs/gcc-11/changes.html +++ b/htdocs/gcc-11/changes.html @@ -46,6 +46,11 @@ a work-in-progress.</p> <li><code>-gsplit-dwarf</code> no longer enables debug info generation on its own but requires a separate <code>-g</code> for this.</li> + + <li>The libstdc++ configure option <tt>--enable-cheaders=c_std</tt> + is deprecated and will be removed in a future release. It should be + possible to use <tt>--enable-cheaders=c_global</tt> (the default) + with no change in behaviour. </li> </ul>
