Subject: [Boost-bugs] [Boost C++ Libraries] #9161: two definitions of future_object_base in v1.53 and 1.54
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-25 04:20:21
#9161: two definitions of future_object_base in v1.53 and 1.54
--------------------------------+----------------------------------
Reporter: jennifer.l.jiang@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
Severity: Problem | Keywords: BOOST_THREAD_VERSION
--------------------------------+----------------------------------
Our testing with icpc on Linux found one strange issue related to
âBOOST_THREAD_VERSIONâ.
When building the boost thread library (libboost_thread.a), we found that
âBOOST_THREAD_VERSIONâ is defined as â2â, but when the test case (i.e
set_exception_at_thread_exit_pass.cpp) is built, the
âBOOST_THREAD_VERSIONâ is â4â. So when â-ipoâ Is used, icpc gives link
errors because two definitions of the same class âstruct
future_object_base : enable_shared_from_this<future_object_base>â is used.
But Gcc seems working fine with its whole program optimization.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9161> 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:14 UTC