Boost logo

Boost :

Subject: Re: [boost] Checking library binary compatibility with respect to compile time options
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-08-05 10:21:03


On 05/08/10 11:44, Alec Ross wrote:
> It might be worth mentioning the --detect-odr-violations option of the
> gcc gold linker here. No?
Yup but it can't detect major version chaneg in ABI or other
misconfiguration I guess ?
Here's a gist with updated file includign symbol visibility and a more
complex use case.

http://gist.github.com/509783

You can compile foo.cpp into foo.a with either no feature, feature A
and/or B.
Then compile main with same/different set of feature and try to link.


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