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 19:14:28
#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
See attached. Boost is manipulating (or doing something with)
BOOST_DYN_LINK in at least 30 files.
> Take a look at the command line tab in the IDE to see what's set.
As requested (I removed the list of file names):
cl /Od /I "../esapi" /I "../errors" /I "../reference" /I "../deps" /I
"C:\Documents and Settings\All Users" /I "C:\Documents and Settings\All
Users\boost-trunk" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D
"_STATIC_CPPLIB" /D "ESAPI_MS_DLL_EXPORTS" /D "_WINDLL" /D "_UNICODE" /D
"UNICODE" /Gm /EHsc /RTC1 /MTd /Fo"C:\Documents and Settings\Jeffrey
Walton\Desktop\owasp-esapi-c++\VS2008\\Esapi-Windows\Temp\Debug\x86\esapi-
dll\\" /Fd"C:\Documents and Settings\Jeffrey Walton\Desktop\owasp-
esapi-c++\VS2008\\Esapi-Windows\Temp\Debug\x86\esapi-dll\vc90.pdb"
This appears to be a Boost configuration problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6644#comment:7> 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