[cfe-dev] COM ABI support?

Stephen Lin swlin at post.harvard.edu
Thu Jul 11 06:45:56 PDT 2013


> I was about to answer the same thing, but hesitated. I know COM avoids
> use virtual inheritance, and I think I've heard somebody say it's for
> portability.
>
> But the vtable ABI isn't standardized either, is it? Do all compilers
> just happen to implement it the same way?
>

All compilers that allow C++ to implement COM objects must implement
virtual tables (but not, for example, name mangling) in the same way
for COM ABI compatibility; I was wondering if Clang did so already or
not.

Stephen



More information about the cfe-dev mailing list