
On Thu, Jan 10, 2013 at 10:54 PM, Olaf van der Spek <ml@vdspek.org> wrote:
On Thu, Jan 10, 2013 at 7:17 PM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
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.
The point is the user appears to think it's a header-only lib.
Oh, I missed that. Well, it's not a header-only library.