aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-14 18:39:40 +0200
committerDavid Robillard <d@drobilla.net>2020-08-14 19:22:11 +0200
commitff43a1f407553dee01ba058c2b07ec1e6842cb9f (patch)
treed204ecd6b35b6321b90cb3f59068b29599dc713f
parentada2909ca27bd52be4a91d1d985661a0300cd77a (diff)
downloadserd-ff43a1f407553dee01ba058c2b07ec1e6842cb9f.tar.gz
serd-ff43a1f407553dee01ba058c2b07ec1e6842cb9f.tar.bz2
serd-ff43a1f407553dee01ba058c2b07ec1e6842cb9f.zip
Use ultra-strict warnings and Werror on Windows CI rows
-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
],