summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorTyler Brock <tyler.brock@gmail.com>2014-09-19 09:17:59 -0400
committerTyler Brock <tyler.brock@gmail.com>2014-09-19 09:34:32 -0400
commit7f9d45b4ec116acf04333da7ba1e8affffdcfe36 (patch)
tree5d8836e0a97829f4c9a2ce3c24d2dc292c9b06c1 /SConstruct
parent986d4a410e55a317da3ed99fe1f4fc21354400ce (diff)
downloadmongo-7f9d45b4ec116acf04333da7ba1e8affffdcfe36.tar.gz
SERVER-15327 disable warnings for unknown pragmas on Windows
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 7bdc43ddda4..d4739138a04 100644
--- a/SConstruct
+++ b/SConstruct
@@ -790,7 +790,9 @@ elif windows:
# 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"] )
+ # c4068
+ # unknown pragma -- added so that we can specify unknown pragmas for other compilers
+ env.Append( CCFLAGS=["/wd4355", "/wd4800", "/wd4267", "/wd4244", "/wd4290", "/wd4068"] )
# some warnings we should treat as errors:
# c4099