Boost logo

Boost :

Subject: Re: [boost] [atomic] [release] possible linking problem with atomic (was: [1.53.0] Beta release candidates available)
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-01-10 13:17:45

On Thu, Jan 10, 2013 at 9:46 PM, Eric Niebler <eric_at_[hidden]> 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_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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at