[cxx-abi-dev] Deleted virtual functions
Zbigniew Sarbinowski
zibi at ca.ibm.com
Mon Jun 1 12:52:14 UTC 2009
> Dennis Handly wrote:
>
> > Not on my implementation where C and C++ calling conventions are the
same.
>
> Given the precedent set with __cxa_pure_virtual, I think we should just
> stick with extern "C". Having half a solution isn't really very
> interesting. If we care about implementations where C and C++ linkage
> are incompatible, we should go through the document, find places where
> that assumption shows, and add new entry points as necessary. (We
> cannot of course remove the existing functions, but we could add new
> functions with C++ linkage.)
>
> 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.
> Mark Mitchell
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.
Regards, ______________________________________
Zbigniew Sarbinowski (Zibi) C++ FE development
8200 Warden Ave. Markham ON, L6G 1C7
C2/712/8200/MKM Tel: 905-413-6071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20090601/4784025c/attachment.html>
More information about the cxx-abi-dev
mailing list