std::string crasher - _S_empty_rep_storage hidden visibility bites my backside

Brian Dessent brian@dessent.net
Tue Jun 17 00:45:00 GMT 2008


John Love-Jensen wrote:

> Set _GLIBCXX_FULLY_DYNAMIC_STRING to be defined?  (I presume I shouldn't
> just do -D_GLIBCXX_FULLY_DYNAMIC_STRING ... that seems wrong.)

No, you'd add --enable-fully-dynamic-string to configure.  BTW this is
PR24196, which also contains a patch to fix the issue without fully
pessimizing away the empty string optimization.

Brian



More information about the Gcc-help mailing list