2011/12/12 Paolo Carlini <paolo.carl...@oracle.com>: > On 12/12/2011 06:45 PM, Marc Glisse wrote: >> >> Actually, g++ currently simply ignores the linkage as part of function >> types, so this shouldn't have any effect. > > Also note that other systems have been using libsupc++ (without using the > whole C++ lib), and I don't think we should play dirty games here and make > the life unnecessarily hard to compilers which in this specific respect are > more conforming than GCC. > > Paolo.
Well, could you be please more specific, what in the unwind-cxx.h is causing especially your questioning here? As exactly the unwinding requires that dtor is called for C++ with proper calling-convention. Only thing I see, if we need instead of introducing here specific _cxa_dtor_type marking existing type __cxa_cdtor_type optional by this calling-abi attribute and replacing in libsupc++ the uses of 'void (*)(void *)' by __cxa_cdtor_type. Kai