Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3465: MSVC fails to compile intrusive when in DLL interface
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-29 14:49:26
#3465: MSVC fails to compile intrusive when in DLL interface
---------------------------+------------------------------------------------
Reporter: wim@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: Boost 1.41.0 | Component: intrusive
Version: Boost 1.44.0 | Severity: Problem
Resolution: wontfix | Keywords:
---------------------------+------------------------------------------------
Changes (by wim@â¦):
* version: Boost 1.40.0 => Boost 1.44.0
Comment:
This got worse with boost 1.44.0 on MSVC 2010. I assume that
BOOST_STATIC_ASSERT now uses a C++0x static assert, and the workaround
mentioned in the original submission (which basically disables
BOOST_STATIC_ASSERT) no longer works. The compiler now complains:
1>C:\Program
Files\boost\boost_1_44\boost/intrusive/detail/generic_hook.hpp(191): error
C2338: ( (int)boost_intrusive_tags::link_mode == (int)auto_unlink )
May I suggest to disable the BOOST_STATIC_ASSERT when compiling on MSVC?
My only workaround now is not to use boost_intrusive when building a DLL.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3465#comment:2> 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:04 UTC