Boost logo

Boost :

From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2006-05-03 03:40:34


Hallo,
if nobody objects I plan to commit the attached patch in a couple of
days. It just extends the existing workaround to the latest compiler
release.

Cheers,
Nicola Musatti


******Index: read_write_mutex.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/thread/read_write_mutex.hpp,v
retrieving revision 1.9
diff -d -u -r1.9 read_write_mutex.hpp
--- read_write_mutex.hpp 11 Jul 2005 15:06:07 -0000 1.9
+++ read_write_mutex.hpp 2 May 2006 20:59:52 -0000
@@ -53,7 +53,7 @@
     typedef detail::thread::scoped_timed_lock<Mutex> scoped_timed_lock;
 
     read_write_mutex_impl(read_write_scheduling_policy::read_write_scheduling_policy_enum sp);
-#if !BOOST_WORKAROUND(__BORLANDC__,<= 0x564)
+#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(582))
     ~read_write_mutex_impl();
 #endif
 


******Index: read_write_mutex.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/thread/src/read_write_mutex.cpp,v
retrieving revision 1.23
diff -d -u -r1.23 read_write_mutex.cpp
--- read_write_mutex.cpp 27 Aug 2005 10:25:15 -0000 1.23
+++ read_write_mutex.cpp 2 May 2006 20:59:40 -0000
@@ -379,7 +379,7 @@
     , m_readers_next(true)
 {}
 
-#if !BOOST_WORKAROUND(__BORLANDC__, <= 0x564)
+#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(582))
 template<typename Mutex>
 read_write_mutex_impl<Mutex>::~read_write_mutex_impl()
 {


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk