[cxx-abi-dev] function pointer linkage for __cxa_vec_new, etc.

Martin v. Löwis loewis at informatik.hu-berlin.de
Tue Nov 5 11:50:40 UTC 2002


scott douglass <sdouglass at arm.com> writes:

> The declarations of __cxa_vec_new, etc. given in section 3.3.3
> (inadvertantly) make the function pointer parameters
> (i.e. constructor, destructor, alloc and dealloc) pointers to "C"
> functions.  Is suspect that these function pointer parameters want
> to be pointers to "C++" functions not pointer to "C" functions.

While this seems to be the case, this does not have any effect on the
ABI, does it?

Also, "pointer-to-constructor" does not exist in C++, so making it a
C++ function pointer expecting this still won't make type-compatible
with the constructor entry point.

Regards,
Martin



More information about the cxx-abi-dev mailing list