Boost Users :
Subject: Re: [Boost-users] Boost.DLL formal review is ending soon - submit your reviews
From: Nevin Liber (nevin_at_[hidden])
Date: 2015-07-16 10:40:57
On 15 July 2015 at 02:35, Antony Polukhin <antoshkka_at_[hidden]> wrote:
> This could be useful. I'll think of adding a BOOST_DLL_USE_LIBRARY macro
> and compiling DLL as a library
Please don't go the macro route. A library that uses this built with the
macro set one way linked against another library/application with the macro
set another way is a disaster waiting to happen.
If you really wish to do this, one way is to use macros to put the
different implementations in different namespaces.
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net