This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: std::string crasher - _S_empty_rep_storage hidden visibility bites my backside
- From: Brian Dessent <brian at dessent dot net>
- To: John Love-Jensen <eljay at adobe dot com>
- Cc: GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 16 Jun 2008 17:47:16 -0700
- Subject: Re: std::string crasher - _S_empty_rep_storage hidden visibility bites my backside
- References: <C47BFB8E.3136B%eljay@adobe.com>
- Reply-to: GCC-help <gcc-help at gcc dot gnu dot org>
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