aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--wscript2
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec4cc240..47c96038 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -175,7 +175,7 @@ test:mac_rel:
win_dbg:
<<: *build_definition
- script: python ./waf configure build -dST --no-coverage
+ script: python ./waf configure build -dST --werror --no-coverage
tags: [windows,msvc,python]
test:win_dbg:
@@ -187,7 +187,7 @@ test:win_dbg:
win_rel:
<<: *build_definition
- script: python ./waf configure build -ST --no-coverage
+ script: python ./waf configure build -ST --werror --no-coverage
tags: [windows,msvc,python]
test:win_rel:
diff --git a/wscript b/wscript
index 8431cbb2..45e120cf 100644
--- a/wscript
+++ b/wscript
@@ -78,6 +78,8 @@ def configure(conf):
'/wd4061', # enumerator in switch is not explicitly handled
'/wd4365', # signed/unsigned mismatch
'/wd4514', # unreferenced inline function has been removed
+ '/wd4710', # function not inlined
+ '/wd4711', # function selected for automatic inline expansion
'/wd4820', # padding added after construct
'/wd4996', # POSIX name for this item is deprecated
],