Re: [Boost-bugs] [Boost C++ Libraries] #6644: Windows: auto_link.hpp incorrectly errors with "Mixing a dll boost library with a static runtime is a really bad idea..."

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6644: Windows: auto_link.hpp incorrectly errors with "Mixing a dll boost library with a static runtime is a really bad idea..."
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-01 23:51:20


#6644: Windows: auto_link.hpp incorrectly errors with "Mixing a dll boost library
with a static runtime is a really bad idea..."
---------------------------------+------------------------------------------
  Reporter: noloader@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords: Windows auto_link /MT /MD DLL
---------------------------------+------------------------------------------

Comment (by noloader@…):

 Second try with sample defines.

 {{{
 #if defined(BOOST_OS_WINDOWS) && defined(_MT) && !defined(_DLL)
 # define BOOST_OS_WINDOWS_STATIC 1
 #elif defined(BOOST_OS_WINDOWS) && defined(_MT) && defined(_DLL)
 # define BOOST_OS_WINDOWS_DYNAMIC 1
 #elif defined(BOOST_OS_WINDOWS)
 # pragma warning("Neither static nor dynamic runtime linking has been
 picked up")
 #endif
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6644#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC