V
Vinay Gudur
Hi,
I have built a static library with a "C" interface and internally
written in C++. I have used most of the features of C++ like RTTI,
Inheritance, Virtual functions internally but have exposed only C
interface for the library user.
I have built the library in gcc 2.7. And the applications which
uses this library will be compiled in gcc 2.97. As per my knowledge,
gcc 2.7 is not strictly ABI (Application Binary Interface) compliant.
But, the application I have built seeems to be working fine without
any problems and all my functionalities are working fine as expected.
I wanted to know if there are any risks in using the library this way.
I understand that using higher versions of gcc with ABI compliance
should not give any problem.
Thanks,
Vinay Gudur
I have built a static library with a "C" interface and internally
written in C++. I have used most of the features of C++ like RTTI,
Inheritance, Virtual functions internally but have exposed only C
interface for the library user.
I have built the library in gcc 2.7. And the applications which
uses this library will be compiled in gcc 2.97. As per my knowledge,
gcc 2.7 is not strictly ABI (Application Binary Interface) compliant.
But, the application I have built seeems to be working fine without
any problems and all my functionalities are working fine as expected.
I wanted to know if there are any risks in using the library this way.
I understand that using higher versions of gcc with ABI compliance
should not give any problem.
Thanks,
Vinay Gudur