
On Thu, Jan 10, 2013 at 9:46 PM, Eric Niebler <eric@boostpro.com> wrote:
Fwd'ed from the users list...
On 1/10/2013 9:37 AM, Olivier Tristan wrote:
Hi,
Don't know if It's suppose to be normal but it looks that the newly added boost atomic requires linking against a static lib by default. This seems wrong as this an header only package.
Please note that I'm using a fresh 1.53 beta 1 with no define like BOOST_ATOMIC_DYN_LINK or BOOST_ALL_DYN_LINK
BOOST_DYN_LINK is greyed out when I open the header in the editor so it doesn't look like to be defined.
(Visual c++ 2005 SP1)
Am I missing something here ?
Thanks !
As I understand, static libs are the default on Windows. So unless specified otherwise, Boost.Atomic follows other libs in this regard. Note that it is ok to link statically with Boost.Atomic if only one module of the application uses it.