Boost C++ Libraries: Ticket #608: InterlockedCompareExchange in static_mutex.cpp https://svn.boost.org/trac10/ticket/608 <pre class="wiki">In static_mutex.cpp, the function scoped_static_mutex_lock::lock() assumes the availability of InterlockedCompareExchange(). This function is not implemented in Windows 95. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/608 Trac 1.4.3 John Maddock Tue, 25 Apr 2006 17:44:33 GMT status changed https://svn.boost.org/trac10/ticket/608#comment:1 https://svn.boost.org/trac10/ticket/608#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=14804 I'm closing this as "won't fix": frankly it's time to move on from Win95. However, I realise that some folks may need to support that OS for a while yet, so I can offer two workarounds: 1) #define BOOST_DISABLE_THREADS Boost.Regex will then not be thread safe, which may or may not be acceptable for you. 2) Change the line: #elif defined(BOOST_HAS_WINTHREADS) to #elif 0 In boost/regex/pending/static_mutex.hpp You will then need to link to the Boost.Threads lib. Hope this helps, John Maddock. </pre> Ticket