summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-02-18 17:18:17 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-02-18 17:19:39 -0500
commit40b314894c7de615b09d633774f9146e4b097b02 (patch)
treeab256718fc63738b62978bc99d36155eb2107546 /SConstruct
parentc43cc49609612800c37444de3a4ca0b434a8e061 (diff)
downloadmongo-40b314894c7de615b09d633774f9146e4b097b02.tar.gz
SERVER-12304 Query concurrency -- 2.6 regression
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct9
1 files changed, 8 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 52de5c1802a..abc794769c6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -747,7 +747,11 @@ elif windows:
# c4244
# 'conversion' conversion from 'type1' to 'type2', possible loss of data
# An integer type is converted to a smaller integer type.
- env.Append( CCFLAGS=["/wd4355", "/wd4800", "/wd4267", "/wd4244"] )
+ # c4290
+ # C++ exception specification ignored except to indicate a function is not __declspec(nothrow
+ # A function is declared using exception specification, which Visual C++ accepts but does not
+ # implement
+ env.Append( CCFLAGS=["/wd4355", "/wd4800", "/wd4267", "/wd4244", "/wd4290"] )
# some warnings we should treat as errors:
# c4099
@@ -793,7 +797,10 @@ elif windows:
if optBuild:
# /O2: optimize for speed (as opposed to size)
# /Oy-: disable frame pointer optimization (overrides /O2, only affects 32-bit)
+ # /INCREMENTAL: NO - disable incremental link - avoid the level of indirection for function
+ # calls
env.Append( CCFLAGS=["/O2", "/Oy-"] )
+ env.Append( LINKFLAGS=["/INCREMENTAL:NO"])
else:
env.Append( CCFLAGS=["/Od"] )