Distinguish between VC++ versions

[SVN r15127]
This commit is contained in:
Beman Dawes
2002-09-01 14:57:40 +00:00
parent a4c44749cb
commit 84431c1e32
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ int cpp_main(int argc, char* argv[])
//
// define the number of failures expected for given compilers:
#ifdef BOOST_MSVC
#if defined(BOOST_MSVC) && _MSC_VER <= 1300
unsigned int expected_failures = 2;
#elif defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x530)
unsigned int expected_failures = 1;

View File

@@ -38,7 +38,7 @@ int cpp_main(int argc, char* argv[])
//
// define the number of failures expected for given compilers:
#ifdef BOOST_MSVC
#if defined(BOOST_MSVC) && _MSC_VER <= 1300
// can't separate void and cv-void:
unsigned int expected_failures = 1;
#elif defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x530)

View File

@@ -461,7 +461,7 @@ unsigned int expected_failures = 97; // cv-qualifiers
# else
unsigned int expected_failures = 474; // cv-qualifiers
# endif
#elif defined(BOOST_MSVC)
#elif defined(BOOST_MSVC) && _MSC_VER <= 1300
unsigned int expected_failures = 84; // partial specialisation (fails for UDT's)
#elif defined(__SUNPRO_CC)
unsigned int expected_failures = 1; // cv-qualified references