]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Deprecate the --enable-cheaders=c_std configuration
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 Aug 2020 15:33:28 +0000 (16:33 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 18:08:10 +0000 (15:08 -0300)
commit27aeb71c04eaa1a2125777d230057fbd0508af15
tree3f2c245ee920a7758adbf8ad98ac3b9b710cec05
parent5768e5ab166361cb504badd80927738824ecd171
libstdc++: Deprecate the --enable-cheaders=c_std configuration

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.
libstdc++-v3/acinclude.m4
libstdc++-v3/configure