
22 Jul
2009
22 Jul
'09
8:48 p.m.
AMDG Audino, Jeremy wrote:
Using Visual Studio 2005, I have two independent static libraries making use of boost. When linking both into an executable I'm getting some multiply defined symbols. I suspect that since most of boost's implementation is header-only, symbols for the boost library functions are appearing in both libraries. I can get around this by specifying /FORCE:MULTIPLE when linking, but this isn't ideal. Is there a better way to get around this?
This is a bug in the compiler. The trunk contains a workaround. See https://svn.boost.org/trac/boost/ticket/2992 In Christ, Steven Watanabe