[patch] Change valid arguments for --with-default-libstdcxx-abi

Jonathan Wakely jwakely@redhat.com
Thu Jul 2 21:29:00 GMT 2015


On 01/07/15 14:38 +0100, Jonathan Wakely wrote:
>I intend to commit this to trunk and the gcc-5-branch either today or
>tomorrow.
>
>I made a mistake in using "c++98" and "c++11" as the valid arguments
>for the ABI configure option, because it confuses people into thinking
>that it is affected by, or affects, the -std=c++11 option.  In fact
>the ABI mode and -std standard mode are independent.
>
>The inline namespace is called __cxx11, the ABI-tag is "cxx11" and the
>controlling macro is _GLIBCXX_USE_CXX11_ABI so I think referring to
>the ABI as "cxx11" might help distinguish it from the -std=c++11 mode.
>
>This will require distros that are using the
>--with-default-libstdcxx-abi option to change their build scripts,
>because using c++98 (or similar) now gives an error:
>
>checking for default std::string ABI to use... configure: error: Supported arguments for --with-default-libstdcxx-abi have changed, use "cxx11" or "cxx98"
>Makefile:11390: recipe for target 'configure-target-libstdc++-v3' failed

Richi didn't like the proposed new options, so instead I'm calling
them "new" and "gcc4-compatible".

I'm committing this to trunk and gcc-5-branch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 4702 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150702/ad578511/attachment.bin>


More information about the Libstdc++ mailing list