Boost logo

Boost :

Subject: Re: [boost] C++03 and C++11 ABI compatibility for compiled libraries
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-05-13 13:21:06


On Monday 13 May 2013 18:26:38 Klaim - Joël Lamotte wrote:
> On Mon, May 13, 2013 at 5:29 PM, Michael Marcin
<mike.marcin_at_[hidden]>wrote:
> > Does boost ever claim support for abi compatibility with different
> > compiler settings? I thought not.
>
> I thought boost explicitely, somewhere, stated that binary compatibility is
> not a requirement for libraries.
> I remember it being the main argument for developing "booster" which is a
> "fixed" set of boost libraries used in CPPCMS.

I think that was about binary compatibility between different releases of
Boost or its libraries. It's a bit different from compatibility between single
release builds for different C++ versions.

Speaking of different releases, Boost does mangle library names with the
release version, so linked applications will always use the correct binaries.
This counts in favor for the solution (2), with mangling library names
differently in C++03 and C++11.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk