2011/12/12 Paolo Carlini <paolo.carl...@oracle.com>: > 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.
Fine, nevertheless the test in os-config file for __i386__ is required, as just for IA 32-bit this calling convention is for interest. Neither x64 nor ARM etc requires it. Kai