Subject: Re: [boost] version conflicts: is there a solution?
From: Bjørn Roald (bjorn_at_[hidden])
Date: 2009-06-28 05:21:08
On Saturday 27 June 2009 10:17:06 pm Ilya Bobir wrote:
> Ilya Bobir wrote:
> > [...]
> > Oh, according to ISO 14882-2003 3.5 paragraph 4 all functions, names
> > classes and some other type of names defined in a namespace scope have
> > external linkage by default. It means that you will violate this rule.
> As this is not a ODR, you can probably work around it by just removing
> all symbols that refer to boost from your library. strip can be used to
> perform such a task. It seems to accept wildcards, so you may be able
> to remove all symbols in boost namespace with just one invocation. You
> only need to figure out the correct wild card as the C++ symbols will be
> mangled by the compiler in a compiler dependent way.
Nice. I have never thought of strip as a tool for other things than removing
debug info. This can actually be a useful suggestion.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk