Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: cxx-abi-dev@xxxxxxxxxxxxxxxx
  • Subject: Re: [cxx-abi-dev] Type mismatch in __cxa_atexit and __cxa_finalize
  • From: Dennis Handly <dhandly@xxxxxxxxxx>
  • Date: Thu, 26 Feb 2004 18:01:30 -0800 (PST)

>From: Matt Austern <austern@xxxxxxxxx>
>  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.