[patch PR libstdc++/51135]: Fix [4.7 Regression] SIGSEGV during exception cleanup on win32
Paolo Carlini
paolo.carlini@oracle.com
Mon Dec 12 11:54:00 GMT 2011
On 12/12/2011 12:50 PM, Jonathan Wakely wrote:
> I think Paolo means:
>
> #ifdef _GLIBCXX_USE_THISCALL_ON_DTOR
> typedef void (__thiscall *__cxxabi_dtor_type) (void *);
> #else
> typedef void (*__cxxabi_dtor_type) (void *);
> #endif
>
> instead of testing __MINGW32__ and __i386__
This for sure, but I think we could as well move the whole thing in the
config file, like:
#ifndef _GLIBCXX_USE_THISCALL_ON_DTOR
typedef void (*__cxxabi_dtor_type) (void *);
#endif
Paolo.
More information about the Libstdc++
mailing list