Ticket #8753: 0001-Boost.Config-MSVC-version-increase-to-1800.patch

File 0001-Boost.Config-MSVC-version-increase-to-1800.patch, 1.2 KB (added by Lars Viklund <zao@…>, 9 years ago)
  • boost/config/compiler/visualc.hpp

    From 358e132475ce58caceff8183d739fc56e1d64067 Mon Sep 17 00:00:00 2001
    From: Lars Viklund <zao@zao.se>
    Date: Tue, 2 Jul 2013 00:58:17 +0200
    Subject: [PATCH 1/6] Boost.Config MSVC version increase to 1800
    
    ---
     boost/config/compiler/visualc.hpp | 8 +++++---
     1 file changed, 5 insertions(+), 3 deletions(-)
    
    diff --git a/boost/config/compiler/visualc.hpp b/boost/config/compiler/visualc.hpp
    index 8f7432d..a26a3fd 100644
    a b  
    304304#   elif _MSC_VER < 1700
    305305#     define BOOST_COMPILER_VERSION 10.0
    306306#   elif _MSC_VER < 1800
    307 #     define BOOST_COMPILER_VERSION 11.0
     307#     define BOOST_COMPILER_VERSION 11.0
     308#   elif _MSC_VER < 1900
     309#     define BOOST_COMPILER_VERSION 12.0
    308310#   else
    309311#     define BOOST_COMPILER_VERSION _MSC_VER
    310312#   endif
     
    314316#endif
    315317
    316318//
    317 // last known and checked version is 1700 (VC11, aka 2011):
    318 #if (_MSC_VER > 1700)
     319// last known and checked version is 1800.20617 (VC12 Preview, aka 2013 Preview):
     320#if (_MSC_VER > 1800 && _MSC_FULL_VER > 180020617)
    319321#  if defined(BOOST_ASSERT_CONFIG)
    320322#     error "Unknown compiler version - please run the configure tests and report the results"
    321323#  else