diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-10-20 17:11:31 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-10-20 17:11:31 -0400 |
commit | f13e5ad084191e1b38992817c5796bbf6e6e9551 (patch) | |
tree | b3df4c90d7a179c0a9001f4e0634b4f13321c548 /src/third_party/mozjs-45 | |
parent | 0bd0f206459cc34e6d118a72f659440e13b611f5 (diff) | |
download | mongo-f13e5ad084191e1b38992817c5796bbf6e6e9551.tar.gz |
SERVER-17414 Disable warnings in third-party
Diffstat (limited to 'src/third_party/mozjs-45')
-rw-r--r-- | src/third_party/mozjs-45/SConscript | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/third_party/mozjs-45/SConscript b/src/third_party/mozjs-45/SConscript index 4e9a8b07f9c..804917f2a33 100644 --- a/src/third_party/mozjs-45/SConscript +++ b/src/third_party/mozjs-45/SConscript @@ -14,7 +14,7 @@ def removeIfPresent(lst, item): except ValueError: pass -for to_remove in ['-Werror', '-Wall', '-W']: +for to_remove in ['-Werror', '-Wall', '-W', '/W3']: removeIfPresent(env['CCFLAGS'], to_remove) # See what -D's show up in make. The AB_CD one might change, but we're little @@ -55,7 +55,13 @@ if env.TargetOSIs('windows'): # 'operation' : unsafe mix of type 'type' and type 'type' in operation '/wd4805', - ]) + + # 'reinterpret_cast': conversion from 'type' to 'type' of greater size + '/wd4312', + + # 'operator': unsafe use of type 'type' in operation + '/wd4804' + ]) else: if env.TargetOSIs('solaris'): env.Prepend(CCFLAGS=[ |