[Mingw-users] [patch] --enable-dynamic-string default for mingw-w64
Paolo Carlini
paolo.carlini@oracle.com
Fri Sep 23 14:49:00 GMT 2011
On 09/23/2011 03:46 PM, Paolo Carlini wrote:
> On 09/23/2011 11:39 AM, JonY wrote:
>> Ping, any updates?
> I'm wondering if it wouldn't be cleaner to handle this in the
> appropriate config/os/ headers, something like (with a good comment
> before!):
>
> #ifndef _GLIBCXX_FULLY_DYNAMIC_STRING
> #define _GLIBCXX_FULLY_DYNAMIC_STRING
> #endif
Even better would be changing the current infrastructure for this to
have a default (not fully dynamic) of zero, a set value of one,
undefined otherwise. Then in the mingw config/os we do the above and the
configuring user is always happy. In that case the basic_string.* bits
must be changed from
#ifdef _GLIBCXX_FULLY_DYNAMIC_STRING
to
#if _GLIBCXX_FULLY_DYNAMIC_STRING == 1
of course.
Paolo.
More information about the Gcc-patches
mailing list