Understanding GCC 5's _GLIBCXX_USE_CXX11_ABI or the new ABI
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html I ran into crashing/valgrind issues with using std::string on GCC 5. The above link hints that there is a change in the ABI starting GCC 5.x. The new default ABI for libstd++ is C++11/14... which is not compatible with the older ABI. There is a way to select the older ABI using a define. I am trying to understand what is the difference between the ABIs and haven't found details. I'd like help understanding: What kind of issues with std::string need to be fixed to be