Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79644 - trunk/libs/atomic/test
From: hcb_at_[hidden]
Date: 2012-07-21 15:00:41


Author: helge.bahmann
Date: 2012-07-21 15:00:40 EDT (Sat, 21 Jul 2012)
New Revision: 79644
URL: http://svn.boost.org/trac/boost/changeset/79644

Log:
atomic: fix atomicity unit test

Make expectation for BOOST_ATOMIC_*_LOCK_FREE macros match actual platform
support.

Text files modified:
   trunk/libs/atomic/test/lockfree.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/atomic/test/lockfree.cpp
==============================================================================
--- trunk/libs/atomic/test/lockfree.cpp (original)
+++ trunk/libs/atomic/test/lockfree.cpp 2012-07-21 15:00:40 EDT (Sat, 21 Jul 2012)
@@ -129,7 +129,7 @@
 #define EXPECT_POINTER_LOCK_FREE 2
 #define EXPECT_BOOL_LOCK_FREE 2
 
-#elif defined(__GNUC__)
+#elif 0 && defined(__GNUC__)
 
 #define EXPECT_CHAR_LOCK_FREE 2
 #define EXPECT_SHORT_LOCK_FREE 2


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk