I have a framework that uses Boost and CgiCC in the main application and in its interface.
How can I change the binary interface of the library (aka libtool -version-info )?
I have no problem tracking changes in the library itself when making various changes. How it is clear to me how I should be a version.
But...
Both Boost and CgiCC libraries do not provide backward compatible API / ABI, and my library can be associated with completely arbitrary versions of Boost and CgiCC, so I can not provide any promise about the interfaces, so I can not specify -version-info exactly because even the same library compiled for different versions of Boost and CgiCC will not be compatible.
So ... What should I do? How do I use the version library?
I know that I should not depend on the Boost and CgiCC interfaces in the first place, but this is what I still get for the existing stable version. This issue is addressed in the next major release, but I still have it and want to support the current version, as it is very valuable.
source share