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