[cxx-abi-dev] Type mismatch in __cxa_atexit and __cxa_finalize
Matt Austern
austern at apple.com
Fri Feb 27 06:10:55 UTC 2004
On Feb 26, 2004, at 6:01 PM, Dennis Handly wrote:
>> From: Matt Austern <austern at apple.com>
>> 3. When __cxa_finalize invokes a function f on a parameter p, it
>> should do the equivalent of:
>> if (p)
>> (*f)(p);
>> else
>> (*((void (*)(void))f))();
>
> That's the code we have but it is all pedantic syntactic sugar.
>
> There is nothing wrong with just using (*f)(p) on IPF. I.e. passing
> extra
> parms to a function that isn't going to use it.
I hate to assume that on all platforms. I'd rather the ABI document
say something that we can count on to be correct everywhere that we'll
use this ABI.
--Matt
More information about the cxx-abi-dev
mailing list