[cxx-abi-dev] Type mismatch in __cxa_atexit and __cxa_finalize

Dennis Handly dhandly at cup.hp.com
Fri Feb 27 02:01:30 UTC 2004


>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.



More information about the cxx-abi-dev mailing list