From 8602ca0a2d8e709edc530d283be75af9963b0489 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 9 Jun 2015 09:50:00 +0100 Subject: [PATCH] re PR libstdc++/66030 ([5.1.0] std::codecvt_byname missing from libstdc++ DLL) PR libstdc++/66030 * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols for mingw32. From-SVN: r224273 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/config/abi/pre/gnu.ver | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bf985ccf7ee..4335a252535 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2015-06-09 Jonathan Wakely + + PR libstdc++/66030 + * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols + for mingw32. + 2015-06-08 Jonathan Wakely PR libstdc++/66441 diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 2da04e42a5c..d42cd37af66 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -542,6 +542,9 @@ GLIBCXX_3.4 { # std::codecvt_byname _ZNSt14codecvt_bynameI[cw]c11__mbstate_tEC[12]EPKc[jmy]; _ZNSt14codecvt_bynameI[cw]c11__mbstate_tED*; +#if defined (_WIN32) && !defined (__CYGWIN__) + _ZNSt14codecvt_bynameI[cw]ciE[CD]*; +#endif # std::collate _ZNSt7collateI[cw]*; @@ -1821,9 +1824,9 @@ GLIBCXX_3.4.21 { _ZNKSt8time_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE6do_getES3_S3_RSt8ios_baseRSt12_Ios_IostateP2tmcc; # codecvt, codecvt - _ZNKSt7codecvtID[is]c11__mbstate_t*; - _ZNSt7codecvtID[is]c11__mbstate_t*; - _ZT[ISV]St7codecvtID[is]c11__mbstate_tE; + _ZNKSt7codecvtID[is]c*; + _ZNSt7codecvtID[is]c*; + _ZT[ISV]St7codecvtID[is]c*E; extern "C++" { -- 2.30.2