From ff43a1f407553dee01ba058c2b07ec1e6842cb9f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 14 Aug 2020 18:39:40 +0200 Subject: Use ultra-strict warnings and Werror on Windows CI rows --- .gitlab-ci.yml | 4 ++-- wscript | 2 ++ 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 ], -- cgit v1.2.1