summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-04-07 11:28:33 -0400
committerJonathan Reams <jbreams@mongodb.com>2015-04-07 12:09:57 -0400
commit2f144f93efec6fda15e940ae05951bbe92e06dcb (patch)
treece68e532ded08720b02a87660739e4f3b62b4348 /SConstruct
parent7a3718e87ec8793dbbd92c2dd2d1f52a07e59bba (diff)
downloadmongo-2f144f93efec6fda15e940ae05951bbe92e06dcb.tar.gz
SERVER-17823 Raise minimum VS compiler to VS2013 update 4
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 2d53e07902a..b7103ed354f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1181,14 +1181,14 @@ def doConfigure(myenv):
# bare compilers, and we should re-check at the very end that TryCompile and TryLink still
# work with the flags we have selected.
if myenv.ToolchainIs('msvc'):
- compiler_minimum_string = "Microsoft Visual Studio 2013 Update 2"
+ compiler_minimum_string = "Microsoft Visual Studio 2013 Update 4"
compiler_test_body = textwrap.dedent(
"""
#if !defined(_MSC_VER)
#error
#endif
- #if _MSC_VER < 1800 || (_MSC_VER == 1800 && _MSC_FULL_VER < 180030501)
+ #if _MSC_VER < 1800 || (_MSC_VER == 1800 && _MSC_FULL_VER < 180031101)
#error %s or newer is required to build MongoDB
#endif
@@ -1459,7 +1459,7 @@ def doConfigure(myenv):
# We appear to have C++11, or at least a flag to enable it. Check that the declared C++
# language level is not less than C++11, and that we can at least compile an 'auto'
# expression. We don't check the __cplusplus macro when using MSVC because as of our
- # current required MS compiler version (MSVS 2013 Update 2), they don't set it. If
+ # current required MS compiler version (MSVS 2013 Update 4), they don't set it. If
# MSFT ever decides (in MSVS 2015?) to define __cplusplus >= 201103L, remove the exception
# here for _MSC_VER
def CheckCxx11(context):