[cfe-dev] COM ABI support?

Csaba Raduly rcsaba at gmail.com
Fri Jul 12 00:13:20 PDT 2013


Hi,

On Thu, Jul 11, 2013 at 1:43 PM, Kim Gräsman <kim.grasman at gmail.com> wrote:
> Hi Nico,
>
> But the vtable ABI isn't standardized either, is it? Do all compilers
> just happen to implement it the same way?

Some don't. IBM's C/Set++ or the VisualAge C++ compiler for OS/2
didn't (the pointers in the vtable were 8 bytes apart, despite it
being a 32-bit compiler). Our (cross-platform: Windoes, OS/2, Mac,
Unix, NetWare, ...) product had a library with a COM wrapper on it.
All platforms implemented COM in C++, except OS/2, where we had to use
plain C to get the correct layout.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds




More information about the cfe-dev mailing list