Ticket #5923: msvc11-config.patch

File msvc11-config.patch, 1.2 KB (added by Matthew Bradbury <matt-bradbury@…>, 11 years ago)
  • boost/config/compiler/visualc.hpp

     
    236236#     define BOOST_COMPILER_VERSION evc9
    237237#   elif _MSC_VER == 1600
    238238#     define BOOST_COMPILER_VERSION evc10
     239#   elif _MSC_VER == 1700
     240#     define BOOST_COMPILER_VERSION evc11
    239241#   else
    240242#      if defined(BOOST_ASSERT_CONFIG)
    241243#         error "Unknown EVC++ compiler version - please run the configure tests and report the results"
     
    259261#     define BOOST_COMPILER_VERSION 9.0
    260262#   elif _MSC_VER == 1600
    261263#     define BOOST_COMPILER_VERSION 10.0
     264#   elif _MSC_VER == 1700
     265#     define BOOST_COMPILER_VERSION 11.0
    262266#   else
    263267#     define BOOST_COMPILER_VERSION _MSC_VER
    264268#   endif
     
    273277#error "Compiler not supported or configured - please reconfigure"
    274278#endif
    275279//
    276 // last known and checked version is 1600 (VC10, aka 2010):
    277 #if (_MSC_VER > 1600)
     280// last known and checked version is 1700 (VC11):
     281#if (_MSC_VER > 1700)
    278282#  if defined(BOOST_ASSERT_CONFIG)
    279283#     error "Unknown compiler version - please run the configure tests and report the results"
    280284#  else