|
Boost : |
Subject: Re: [boost] version conflicts: is there a solution?
From: Ilya Bobir (ilya.bobir_at_[hidden])
Date: 2009-06-27 16:17:06
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.
P.S. Sorry for replying to myself for the second time, but it seems to
be a workable solution to me.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk