[committed] libstdc++: Deprecate the --enable-cheaders=c_std configuration

Jonathan Wakely jwakely@redhat.com
Thu Aug 13 15:44:26 GMT 2020


On 13/08/20 16:39 +0100, Jonathan Wakely wrote:
>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 <jwakely@redhat.com>
>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>

And the fix for the validation errors! Oops. Pushed to wwwdocs.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 961 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200813/4d8ed0cf/attachment.bin>


More information about the Gcc-patches mailing list