Boost logo

Boost :

Subject: Re: [boost] Static Libraries / Multiply Defined Symbols
From: Audino, Jeremy (jeremy.audino_at_[hidden])
Date: 2009-07-22 17:19:16


Steve,

Thanks for your help! Exactly my issue. I'll wait for 1.40.

-Jeremy

Jeremy F. Audino
Senior Software Development Engineer
Philips Healthcare -- Nuclear Medicine
Tel: 440-483-7444
E-mail: jeremy.audino_at_[hidden]

-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Wednesday, July 22, 2009 4:48 PM
To: boost_at_[hidden]
Subject: Re: [boost] Static Libraries / Multiply Defined Symbols

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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


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