Subject: [Boost-bugs] [Boost C++ Libraries] #11366: execution_context.hpp gives errors when building with VS2015RC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-31 22:04:10
#11366: execution_context.hpp gives errors when building with VS2015RC
-------------------------------+----------------------
Reporter: robvdnieuwenhof@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.58.0 | Severity: Problem
Keywords: |
-------------------------------+----------------------
When building boost 1_58 wirh VS2015RC it gives the following errors:
Unknown compiler version - please run the configure tests and report the
results
boost/context/execution_context.hpp(140): error C2492:
'boost::context::execution_context::main_ctx_': data with thread storage
duration may not have dll interface
boost/context/execution_context.hpp(140): warning C4251:
'boost::context::execution_context::main_ctx_': struct
'boost::context::execution_context::fcontext' needs to have dll-interface
to be used by clients of class 'boost::context::execution_context'
boost/context/execution_context.hpp(59): note: see declaration of
'boost::context::execution_context::fcontext'
boost/context/execution_context.hpp(140): error C2492: 'private: static
boost::context::execution_context::fcontext
boost::context::execution_context::main_ctx_': data with thread storage
duration may not have dll interface
boost/context/execution_context.hpp(141): error C2492:
'boost::context::execution_context::current_ctx_': data with thread
storage duration may not have dll interface
boost/context/execution_context.hpp(141): warning C4251:
'boost::context::execution_context::current_ctx_': class
'boost::intrusive_ptr<boost::context::execution_context::fcontext>' needs
to have dll-interface to be used by clients of class
'boost::context::execution_context'
boost/context/execution_context.hpp(141): error C2492: 'private: static
boost::intrusive_ptr<boost::context::execution_context::fcontext>
boost::context::execution_context::current_ctx_': data with thread storage
duration may not have dll interface
boost/context/execution_context.hpp(143): warning C4251:
'boost::context::execution_context::ptr_': class
'boost::intrusive_ptr<boost::context::execution_context::fcontext>' needs
to have dll-interface to be used by clients of class
'boost::context::execution_context'
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11366> 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:18 UTC