Boost logo

Boost :

Subject: [boost] [config] BOOST_ALL_DYN_LINK comment in user.hpp
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2008-12-05 13:05:17


The comment in boost/config/user.hpp gives 2 examples, both of which
appear to be invalid.

------------------------------
// BOOST_ALL_DYN_LINK: Forces all libraries that have separate source,
// to be linked as dll's rather than static libraries on Microsoft Windows
// (this macro is used to turn on __declspec(dllimport) modifiers, so that
// the compiler knows which symbols to look for in a dll rather than in a
// static library). Note that there may be some libraries that can only
// be statically linked (Boost.Test for example) and others which may only
// be dynamically linked (Boost.Threads for example), in these cases this
// macro has no effect.
// #define BOOST_ALL_DYN_LINK
------------------------------

I believe Boost.Test can now be linked dynamically and Boost.Threads can
now be linked statically.

-- 
Michael Marcin

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