[cxx-abi-dev] Deleted virtual functions

Lawrence Crowl crowl at google.com
Mon Jun 1 18:35:14 UTC 2009


On 6/1/09, Zbigniew Sarbinowski <zibi at ca.ibm.com> wrote:
> > But, are there are at this point any implementations for which C
> > and C++ linkage are incompatible in terms of calling conventions?
> > If this is just a theoretical concern, then we should leave it
> > alone; that the ABI constrains new implementations which wish
> > to follow the ABI is not an inherent problem.
>
> Yes, on MVS system C and C++ linkage has different calling
> convention in non-xplink mode. In xplink they are the same but
> we have to support non-xplink path as well.

Because modern calling conventions are better than older conventions
for C++, some older systems could get a performance improvement
by using a different calling convention for extern C++ functions.
It is unlikely that a vendor will follow that path unless there
are other reasons to create a new ABI for C++.

-- 
Lawrence Crowl



More information about the cxx-abi-dev mailing list