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-03 18:52:46


#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: closed
 Milestone: To Be Determined | Component: config
   Version: Boost 1.48.0 | Severity: Problem
Resolution: worksforme | Keywords: Windows auto_link /MT /MD DLL
---------------------------------+------------------------------------------

Comment (by anonymous):

 Replying to [comment:5 johnmaddock]:
> I suspect you have BOOST_DYN_LINK defined somewhere in your project
 settings (or those inherited by your project which can be hard to track
 down). Take a look at the command line tab in the IDE to see what's set.
>
 Actually, its not defined by me. Below is a search of the term. It only
 shows up in Boost gear.

 Find all "BOOST_DYN_LINK", Subfolders, Find Results 1, "Entire Solution"
   C:\Documents and Settings\All Users\boost-
 trunk\boost\config\auto_link.hpp(23):BOOST_DYN_LINK: Optional:
 when set link to dll rather than static library.
   C:\Documents and Settings\All Users\boost-
 trunk\boost\config\auto_link.hpp(346):#if (defined(_DLL) ||
 defined(_RTLDLL)) && defined(BOOST_DYN_LINK)
   C:\Documents and Settings\All Users\boost-
 trunk\boost\config\auto_link.hpp(348):#elif defined(BOOST_DYN_LINK)
   C:\Documents and Settings\All Users\boost-
 trunk\boost\config\auto_link.hpp(414):#if defined(BOOST_DYN_LINK)
   C:\Documents and Settings\All Users\boost-
 trunk\boost\config\auto_link.hpp(415):# undef BOOST_DYN_LINK
   Matching lines: 5 Matching files: 1 Total files searched: 233

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6644#comment:6>
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