Ticket #2445: config.patch

File config.patch, 1.4 KB (added by Richard Webb <Richard.Webb@…>, 14 years ago)
  • auto_link.hpp

     
    135135   // vc80:
    136136#  define BOOST_LIB_TOOLSET "vc80"
    137137
    138 #elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1500)
     138#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1500)
    139139
    140140   // vc90:
    141141#  define BOOST_LIB_TOOLSET "vc90"
    142142
     143#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1600)
     144
     145   // vc10:
     146#  define BOOST_LIB_TOOLSET "vc100"
     147
    143148#elif defined(__BORLANDC__)
    144149
    145150   // CBuilder 6:
  • compiler/visualc.hpp

     
    7979#  define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
    8080#endif
    8181
    82 #if _MSC_VER <= 1500  // 1500 == VC++ 9.0
     82#if _MSC_VER <= 1600  // 1600 == VC++ 10.0
    8383#  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
    8484#endif
    8585
     
    175175#     define BOOST_COMPILER_VERSION 8.0
    176176#   elif _MSC_VER == 1500
    177177#     define BOOST_COMPILER_VERSION 9.0
     178#   elif _MSC_VER == 1600
     179#     define BOOST_COMPILER_VERSION 10.0
    178180#   else
    179181#     define BOOST_COMPILER_VERSION _MSC_VER
    180182#   endif
     
    190192#endif
    191193//
    192194// last known and checked version is 1500 (VC9):
    193 #if (_MSC_VER > 1500)
     195#if (_MSC_VER > 1600)
    194196#  if defined(BOOST_ASSERT_CONFIG)
    195197#     error "Unknown compiler version - please run the configure tests and report the results"
    196198#  else