From e32b302acfee9b38255d4e4c0a777537f6983166 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Wed, 11 Aug 2004 07:58:37 +0000 Subject: [PATCH] Suppress std::complex testing for VC7 it has remove_reference problems in this case. svn path=/trunk/boost/libs/numeric/ublas/; revision=24397 --- test1/test1.hpp | 3 +++ test3/test3.hpp | 2 ++ test4/test4.hpp | 2 ++ test5/test5.hpp | 2 ++ 4 files changed, 9 insertions(+) diff --git a/test1/test1.hpp b/test1/test1.hpp index 46d22f50..53dc029f 100644 --- a/test1/test1.hpp +++ b/test1/test1.hpp @@ -43,7 +43,10 @@ void test_matrix (); // #define USE_FLOAT #define USE_DOUBLE +// MSVC Version 6.0 & 7.0 have problems with std complex +#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1300) #define USE_STD_COMPLEX +#endif #define USE_RANGE #define USE_SLICE diff --git a/test3/test3.hpp b/test3/test3.hpp index b37cffec..01950682 100644 --- a/test3/test3.hpp +++ b/test3/test3.hpp @@ -43,7 +43,9 @@ void test_matrix (); // #define USE_FLOAT #define USE_DOUBLE +#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1300) #define USE_STD_COMPLEX +#endif //FIXME range and slice are failing //#define USE_RANGE diff --git a/test4/test4.hpp b/test4/test4.hpp index 569a298f..846424e1 100644 --- a/test4/test4.hpp +++ b/test4/test4.hpp @@ -51,7 +51,9 @@ void test_matrix (); // #define USE_FLOAT #define USE_DOUBLE +#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1300) #define USE_STD_COMPLEX +#endif #define USE_RANGE #define USE_SLICE diff --git a/test5/test5.hpp b/test5/test5.hpp index 844d96e2..59a0929b 100644 --- a/test5/test5.hpp +++ b/test5/test5.hpp @@ -68,7 +68,9 @@ void test_matrix (); // #define USE_FLOAT #define USE_DOUBLE +#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1300) #define USE_STD_COMPLEX +#endif #define USE_RANGE #define USE_SLICE