Browse Source

Use ultra-strict warnings and Werror on Windows CI rows

zrythm_meson
David Robillard 3 years ago
parent
commit
ff43a1f407
  1. 4
      .gitlab-ci.yml
  2. 2
      wscript

4
.gitlab-ci.yml

@ -175,7 +175,7 @@ test:mac_rel: @@ -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: @@ -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:

2
wscript

@ -78,6 +78,8 @@ def configure(conf): @@ -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
],

Loading…
Cancel
Save