Re: [Boost-bugs] [Boost C++ Libraries] #4878: MinGW 4.5.0 undefined reference to bool interruptible_wait(detail::win32::handle handle_to_wait_for, detail::t imeout target_time)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4878: MinGW 4.5.0 undefined reference to bool interruptible_wait(detail::win32::handle handle_to_wait_for, detail::t imeout target_time)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-02 15:21:44


#4878: MinGW 4.5.0 undefined reference to bool
interruptible_wait(detail::win32::handle handle_to_wait_for,detail::t
imeout target_time)
---------------------------------+------------------------------------------
  Reporter: 1czajnik@… | Owner: anthonyw
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.45.0 | Severity: Problem
Resolution: worksforme | Keywords:
---------------------------------+------------------------------------------

Comment (by Kevin Brightwell <kevin.brightwell2@…>):

 I encountered this error using Boost 1.53.0 on MinGW 4.7 on Windows 7.

 I applied the following at line 318 in `boost\thread\detail\config.hpp`

 {{{
 #if defined(BOOST_THREAD_BUILD_DLL) //Build dll
 #elif defined(BOOST_THREAD_BUILD_LIB) //Build lib
 #elif defined(BOOST_THREAD_USE_DLL) //Use dll
 #elif defined(BOOST_THREAD_USE_LIB) //Use lib
 #else //Use default
 # if defined(BOOST_THREAD_PLATFORM_WIN32)
 # if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) \
                         || defined(__MINGW32__) || defined(MINGW32) ||
 defined(BOOST_MINGW32)
             //For compilers supporting auto-tss cleanup
             //with Boost.Threads lib, use Boost.Threads lib
 # define BOOST_THREAD_USE_LIB
 # else
             //For compilers not yet supporting auto-tss cleanup
             //with Boost.Threads lib, use Boost.Threads dll
 # define BOOST_THREAD_USE_DLL
 # endif
 # else
 # define BOOST_THREAD_USE_LIB
 # endif
 #endif
 }}}

 This is the exact solution from:
 https://svn.boost.org/trac/boost/ticket/4878#comment:6

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4878#comment:11>
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:12 UTC