Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70203 - trunk/libs/type_traits/test
From: john_at_[hidden]
Date: 2011-03-19 14:03:58


Author: johnmaddock
Date: 2011-03-19 14:03:57 EDT (Sat, 19 Mar 2011)
New Revision: 70203
URL: http://svn.boost.org/trac/boost/changeset/70203

Log:
Don't test msvc bug case for versions of msvc that don't support the fix.
Text files modified:
   trunk/libs/type_traits/test/is_convertible_test.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/type_traits/test/is_convertible_test.cpp
==============================================================================
--- trunk/libs/type_traits/test/is_convertible_test.cpp (original)
+++ trunk/libs/type_traits/test/is_convertible_test.cpp 2011-03-19 14:03:57 EDT (Sat, 19 Mar 2011)
@@ -182,7 +182,7 @@
 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<test_bug_4530<A4530>,A4530>::value), true);
 #endif
 
-#ifdef BOOST_MSVC
+#if defined(BOOST_MSVC) && (BOOST_MSVC > 1310)
 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<int, bug_5271a>::value), false);
 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<int, bug_5271b>::value), true);
 #endif


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