[Boost-bugs] [Boost C++ Libraries] #13492: thread.cpp fails to compile when defining BOOST_NO_EXCEPTIONS

Subject: [Boost-bugs] [Boost C++ Libraries] #13492: thread.cpp fails to compile when defining BOOST_NO_EXCEPTIONS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-25 14:26:35


#13492: thread.cpp fails to compile when defining BOOST_NO_EXCEPTIONS
----------------------------------------+------------------------------
 Reporter: ThundThund@… | Owner: Anthony Williams
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: thread BOOST_NO_EXCEPTIONS |
----------------------------------------+------------------------------
 On Windows 7 64bits. VS2017 installed.

 H:\Zunderbolt\EXTRA\boost_1_66_0>bjam -a toolset=msvc variant=debug
 link=static threading=multi runtime-link=shared --layout=tagged address-
 model=64 define=BOOST_NO_RTTI define=BOOST_NO_TYPEID
 define=BOOST_NO_EXCEPTIONS

 Performing configuration checks

     - 32-bit : yes (cached)
     - arm : no (cached)
     - mips1 : no (cached)
     - power : no (cached)
     - sparc : no (cached)
     - x86 : yes (cached)
     - symlinks supported : yes (cached)

 ...patience...

 ...patience...

 ...found 1176 targets...

 ...updating 5 targets...

 compile-c-c++ bin.v2\libs\thread\build\msvc-14.1\debug\address-model-64
 \link-static\threadapi-win32\threading-multi\win32\thread.obj
 thread.cpp

 Info: Boost.Config is older than your compiler version - probably nothing
 bad will happen - but you may wish to look for an update Boost version.
 Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.

 libs\thread\src\win32\thread.cpp(60): error C2027: use of undefined type
 'boost::detail::shared_state_base'

 H:\Zunderbolt\EXTRA\boost_1_66_0\boost/thread/detail/thread.hpp(850):
 note: see delcaration 'boost::detail::shared_state_base'
 libs\thread\src\win32\thread.cpp(60): error C2039: 'notify_deferred': is
 not a member of 'boost::shared_ptr<boost::detail::shared_state_base>'

 H:\Zunderbolt\EXTRA\boost_1_66_0\boost/thread/win32/thread_data.hpp(115):
 note: see declaration
 'boost::shared_ptr<boost::detail::shared_state_base>'

     call "C:\Temp\b2_msvc_14.1_vcvarsx86_amd64_.cmd" >nul
 cl /Zm800 -nologo @"bin.v2\libs\thread\build\msvc-14.1\debug\address-
 model-64\link-static\threadapi-win32\threading-multi\win32\thread.obj.rsp"

 ...failed compile-c-c++ bin.v2\libs\thread\build\msvc-14.1\debug\address-
 model-64\link-static\threadapi-win32\threading-multi\win32\thread.obj

 ...compile-c-c++ bin.v2\libs\thread\build\msvc-14.1\debug\address-model-64
 \link-static\threadapi-win32\threading-multi\win32\tss_dll.obj
 tss_dll.cpp
 Info: Boost.Config is older than your compiler version - probably nothing
 bad will happen - but you may wish to look for an update Boost version.
 Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.
 compile-c-c++ bin.v2\libs\thread\build\msvc-14.1\debug\address-model-64
 \link-static\threadapi-win32\threading-multi\win32\tss_pe.obj
 tss_pe.cpp
 Info: Boost.Config is older than your compiler version - probably nothing
 bad will happen - but you may wish to look for an update Boost version.
 Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.
 compile-c-c++ bin.v2\libs\thread\build\msvc-14.1\debug\address-model-64
 \link-static\threadapi-win32\threading-multi\future.obj
 future.cpp
 Info: Boost.Config is older than your compiler version - probably nothing
 bad will happen - but you may wish to look for an update Boost version.
 Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.

 ...skipped <pbin.v2\libs\thread\build\msvc-14.1\debug\address-model-64
 \link-static\threadapi-win32\threading-multi>libboost_thread-mt-gd.lib for
 lack of <pbin.v2\libs\thread\build\msvc-14.1\debug\address-model-64\link-
 st

 ...failed updating 1 target...

 ...skipped 1 target...

 ...updated 3 targets...

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13492>
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 : 2018-03-25 14:32:29 UTC