 |
|
|
|
Actions
|
|
[ 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: Dennis Handly <dhandly@xxxxxxxxxx>
- Subject: Re: [cxx-abi-dev] Type mismatch in __cxa_atexit and __cxa_finalize
- From: Matt Austern <austern@xxxxxxxxx>
- Date: Thu, 26 Feb 2004 22:10:55 -0800
On Feb 26, 2004, at 6:01 PM, Dennis Handly wrote:
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.
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
|
|