aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript14
1 files changed, 8 insertions, 6 deletions
diff --git a/wscript b/wscript
index 48a9bc2..9315220 100644
--- a/wscript
+++ b/wscript
@@ -82,16 +82,10 @@ def configure(conf):
'msvc': [
'/wd4061', # enumerator in switch is not explicitly handled
'/wd4191', # unsafe conversion from type to type
- '/wd4355', # 'this' used in base member initializer list
'/wd4514', # unreferenced inline function has been removed
- '/wd4571', # structured exceptions (SEH) are no longer caught
- '/wd4625', # copy constructor implicitly deleted
- '/wd4626', # assignment operator implicitly deleted
'/wd4706', # assignment within conditional expression
'/wd4710', # function not inlined
'/wd4820', # padding added after construct
- '/wd5026', # move constructor implicitly defined as deleted
- '/wd5027', # move assignment operator implicitly deleted
'/wd5045', # will insert Spectre mitigation for memory load
],
})
@@ -110,6 +104,14 @@ def configure(conf):
'gcc': [
'-Wno-old-style-cast',
],
+ 'msvc': [
+ '/wd4355', # 'this' used in base member initializer list
+ '/wd4571', # structured exceptions (SEH) are no longer caught
+ '/wd4625', # copy constructor implicitly deleted
+ '/wd4626', # assignment operator implicitly deleted
+ '/wd5026', # move constructor implicitly deleted
+ '/wd5027', # move assignment operator implicitly deleted
+ ],
})
# Add some platform-specific warning suppressions