From 4fcc1bc455979e74101526c8a76deb9d078ed8e3 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Mon, 10 Jul 2006 16:21:28 +0000 Subject: [PATCH] [uBLAS] FIX unspoorted compilers set BOOST_UBLAS_UNSUPPORTED_COMPILER=1 so we can compare with !=- to override svn path=/trunk/boost/boost/numeric/ublas/; revision=34501 --- include/boost/numeric/ublas/detail/config.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/numeric/ublas/detail/config.hpp b/include/boost/numeric/ublas/detail/config.hpp index ef692cf9..37bf297e 100644 --- a/include/boost/numeric/ublas/detail/config.hpp +++ b/include/boost/numeric/ublas/detail/config.hpp @@ -38,7 +38,7 @@ // Version 6.0 and 7.0 #if BOOST_MSVC <= 1300 -#define BOOST_UBLAS_UNSUPPORTED_COMPILER +#define BOOST_UBLAS_UNSUPPORTED_COMPILER 1 #endif // Version 7.1 @@ -63,7 +63,7 @@ #endif #if __GNUC__ < 3 -#define BOOST_UBLAS_UNSUPPORTED_COMPILER +#define BOOST_UBLAS_UNSUPPORTED_COMPILER 1 #endif #endif @@ -78,7 +78,7 @@ #endif #if (BOOST_INTEL < 700) -#define BOOST_UBLAS_UNSUPPORTED_COMPILER +#define BOOST_UBLAS_UNSUPPORTED_COMPILER 1 #endif // Define swap for index_pair and triple. @@ -156,7 +156,7 @@ namespace std { // 8.x #if __MWERKS__ <= 0x3003 -#define BOOST_UBLAS_UNSUPPORTED_COMPILER +#define BOOST_UBLAS_UNSUPPORTED_COMPILER 1 #endif #endif @@ -165,7 +165,7 @@ namespace std { // Detect other compilers with serious defects - override by defineing BOOST_UBLAS_UNSUPPORTED_COMPILER=0 #ifndef BOOST_UBLAS_UNSUPPORTED_COMPILER #if defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined(BOOST_NO_SFINAE) || defined(BOOST_NO_STDC_NAMESPACE) -#define BOOST_UBLAS_UNSUPPORTED_COMPILER +#define BOOST_UBLAS_UNSUPPORTED_COMPILER 1 #endif #endif