Ticket #8750: for_vs2013.patch
File for_vs2013.patch, 6.2 KB (added by , 9 years ago) |
---|
-
boost/config/auto_link.hpp
151 151 // vc10: 152 152 # define BOOST_LIB_TOOLSET "vc100" 153 153 154 # elif defined(BOOST_MSVC) 154 # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1800) 155 155 156 156 // vc11: 157 157 # define BOOST_LIB_TOOLSET "vc110" 158 158 159 # elif defined(BOOST_MSVC) 160 161 // vc12: 162 # define BOOST_LIB_TOOLSET "vc120" 163 159 164 # elif defined(__BORLANDC__) 160 165 161 166 // CBuilder 6: -
boost/config/compiler/visualc.hpp
218 218 #endif // _MSC_VER < 1700 219 219 220 220 // C++11 features supported by VC++ 11 (aka 2012) November 2012 CTP 221 // Because the CTP is unsupported, unrelease, and only alpha quality, 222 // it is only supported if BOOST_MSVC_ENABLE_2012_NOV_CTP is defined. 221 // and VC++ 2013 Preview. Because the CTP is unsupported, unrelease, 222 // and only alpha quality, it is only supported 223 // if BOOST_MSVC_ENABLE_2012_NOV_CTP is defined. 223 224 // 224 #if _MSC_ FULL_VER < 170051025 || !defined(BOOST_MSVC_ENABLE_2012_NOV_CTP)225 #if _MSC_VER < 1800 && !(_MSC_FULL_VER >= 170051025 && defined(BOOST_MSVC_ENABLE_2012_NOV_CTP)) 225 226 # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS 226 227 # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS 227 228 # define BOOST_NO_CXX11_RAW_LITERALS … … 229 230 # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX 230 231 #endif 231 232 233 // C++11 features supported by VC++ 2013 Preview 234 // 235 #if _MSC_VER < 1800 236 # define BOOST_NO_CXX11_DECLTYPE_N3276 237 #endif 238 239 // C++11 features supported by VC++ 2013 RTM 240 // 241 #if _MSC_FULL_VER <= 180020617 242 # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS 243 # define BOOST_NO_CXX11_DELETED_FUNCTIONS 244 # define BOOST_NO_CXX11_TEMPLATE_ALIASES 245 #endif 246 232 247 // C++11 features not supported by any versions 233 248 #define BOOST_NO_CXX11_CHAR16_T 234 249 #define BOOST_NO_CXX11_CHAR32_T 235 250 #define BOOST_NO_CXX11_CONSTEXPR 236 #define BOOST_NO_CXX11_DECLTYPE_N3276237 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS238 #define BOOST_NO_CXX11_DELETED_FUNCTIONS239 251 #define BOOST_NO_CXX11_NOEXCEPT 240 #define BOOST_NO_CXX11_TEMPLATE_ALIASES241 252 #define BOOST_NO_CXX11_UNICODE_LITERALS 242 253 #define BOOST_NO_SFINAE_EXPR 243 254 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP … … 280 291 # define BOOST_COMPILER_VERSION evc10 281 292 # elif _MSC_VER < 1800 282 293 # define BOOST_COMPILER_VERSION evc11 294 # elif _MSC_VER < 1900 295 # define BOOST_COMPILER_VERSION evc12 283 296 # else 284 297 # if defined(BOOST_ASSERT_CONFIG) 285 298 # error "Unknown EVC++ compiler version - please run the configure tests and report the results" … … 305 318 # define BOOST_COMPILER_VERSION 10.0 306 319 # elif _MSC_VER < 1800 307 320 # define BOOST_COMPILER_VERSION 11.0 321 # elif _MSC_VER < 1900 322 # define BOOST_COMPILER_VERSION 12.0 308 323 # else 309 324 # define BOOST_COMPILER_VERSION _MSC_VER 310 325 # endif … … 314 329 #endif 315 330 316 331 // 317 // last known and checked version is 1 700 (VC11, aka 2011):318 #if (_MSC_VER > 1 700)332 // last known and checked version is 1800 (VC2013): 333 #if (_MSC_VER > 1800) 319 334 # if defined(BOOST_ASSERT_CONFIG) 320 335 # error "Unknown compiler version - please run the configure tests and report the results" 321 336 # else -
boost/config/stdlib/dinkumware.hpp
80 80 # define BOOST_NO_STD_ITERATOR_TRAITS 81 81 #endif 82 82 83 #if defined(_MSC_VER) && (_MSC_VER >= 1800) 84 # include <algorithm> // for std::min and std::max 85 #endif 86 83 87 #if defined(__ICL) && (__ICL < 800) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310) 84 88 // Intel C++ chokes over any non-trivial use of <locale> 85 89 // this may be an overly restrictive define, but regex fails without it: -
boost/mpl/assert.hpp
34 34 #include <boost/config.hpp> // make sure 'size_t' is placed into 'std' 35 35 #include <cstddef> 36 36 37 #if BOOST_WORKAROUND(BOOST_MSVC, == 1700)37 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1700) 38 38 #include <boost/mpl/if.hpp> 39 39 #endif 40 40 … … 244 244 245 245 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 246 246 247 #if BOOST_WORKAROUND(BOOST_MSVC, == 1700)247 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1700) 248 248 249 249 // BOOST_MPL_ASSERT((pred<x,...>)) 250 250 -
tools/build/v2/tools/msvc.jam
749 749 # version from the path. 750 750 # FIXME: We currently detect both Microsoft Visual Studio 9.0 and 751 751 # 9.0express as 9.0 here. 752 if [ MATCH "(Microsoft Visual Studio 1 1)" : $(command) ]752 if [ MATCH "(Microsoft Visual Studio 12)" : $(command) ] 753 753 { 754 version = 12.0 ; 755 } 756 else if [ MATCH "(Microsoft Visual Studio 11)" : $(command) ] 757 { 754 758 version = 11.0 ; 755 759 } 756 760 else if [ MATCH "(Microsoft Visual Studio 10)" : $(command) ] … … 1385 1389 1386 1390 1387 1391 # Known toolset versions, in order of preference. 1388 .known-versions = 1 1.0 10.0 10.0express 9.0 9.0express 8.0 8.0express 7.11392 .known-versions = 12.0 11.0 10.0 10.0express 9.0 9.0express 8.0 8.0express 7.1 1389 1393 7.1toolkit 7.0 6.0 ; 1390 1394 1391 1395 # Version aliases. … … 1396 1400 .version-alias-9 = 9.0 ; 1397 1401 .version-alias-10 = 10.0 ; 1398 1402 .version-alias-11 = 11.0 ; 1403 .version-alias-12 = 12.0 ; 1399 1404 1400 1405 # Names of registry keys containing the Visual C++ installation path (relative 1401 1406 # to "HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft"). … … 1409 1414 .version-10.0-reg = "VisualStudio\\10.0\\Setup\\VC" ; 1410 1415 .version-10.0express-reg = "VCExpress\\10.0\\Setup\\VC" ; 1411 1416 .version-11.0-reg = "VisualStudio\\11.0\\Setup\\VC" ; 1417 .version-12.0-reg = "VisualStudio\\12.0\\Setup\\VC" ; 1412 1418 1413 1419 # Visual C++ Toolkit 2003 does not store its installation path in the registry. 1414 1420 # The environment variable 'VCToolkitInstallDir' and the default installation