From: Neil Horman Date: Wed, 26 Jun 2024 20:23:04 +0000 (-0400) Subject: Disable default case checks on clang 18 X-Git-Tag: openssl-3.4.0-alpha1~428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15974897b7b94014e0165d7d906e31ca010e2861;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24744) --- diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml index b031ce2253a..53e90215d50 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