summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-06-26 22:23:04 +0200
committerTomas Mraz <tomas@openssl.org>2024-06-28 11:17:59 +0200
commit15974897b7b94014e0165d7d906e31ca010e2861 (patch)
tree9765e5be1223f3a3f3c0cb8887b0a50a7aa71d84 /.github
parentEnable ipv6 use if available (diff)
downloadopenssl-15974897b7b94014e0165d7d906e31ca010e2861.tar.xz
openssl-15974897b7b94014e0165d7d906e31ca010e2861.zip
Disable default case checks on clang 18
Recent updates in CI have upgraded clang to clang-18, which gripes when it finds a switch statement without a default case. We should add those cases in, but since we have a lot of those, and CI is currently failing, disable the check until we get them fixed up Fixes #24739 Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24744)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/os-zoo.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml
index b031ce2253..53e90215d5 100644
--- a/.github/workflows/os-zoo.yml
+++ b/.github/workflows/os-zoo.yml
@@ -27,7 +27,7 @@ jobs:
image: docker.io/library/alpine:${{ matrix.tag }}
env:
# https://www.openwall.com/lists/musl/2022/02/16/14
- EXTRA_CFLAGS: ${{ matrix.cc == 'clang' && '-Wno-sign-compare' || '' }}
+ EXTRA_CFLAGS: ${{ matrix.cc == 'clang' && '-Wno-sign-compare -Wno-switch-default' || '' }}
CC: ${{ matrix.cc }}
steps:
- name: install packages