From: Tomas Mraz Date: Fri, 28 Jun 2024 08:34:23 +0000 (+0200) Subject: Configure: Remove -Wswitch-default from strict warnings X-Git-Tag: openssl-3.4.0-alpha1~414 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5863e9259e3c610304febe8b43ac3b1e3b22534;p=thirdparty%2Fopenssl.git Configure: Remove -Wswitch-default from strict warnings Also move -Wno-tautological-constant-out-of-range-compare to clang-specific options as it is not supported by gcc. Reviewed-by: Bernd Edlinger Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/24758) (cherry picked from commit 3d9c6b16d8b8e75b73e2fd34849e930e2792f3a4) --- diff --git a/Configure b/Configure index 71322996111..37e0b51c4f1 100755 --- a/Configure +++ b/Configure @@ -171,7 +171,6 @@ my @gcc_devteam_warn = qw( -Wshadow -Wformat -Wno-type-limits - -Wno-tautological-constant-out-of-range-compare -Wundef -Werror -Wmissing-prototypes @@ -188,11 +187,11 @@ my @gcc_devteam_warn = qw( # -Wextended-offsetof -- no, needed in CMS ASN1 code my @clang_devteam_warn = qw( -Wno-unknown-warning-option - -Wswitch-default -Wno-parentheses-equality -Wno-language-extension-token -Wno-extended-offsetof -Wno-missing-braces + -Wno-tautological-constant-out-of-range-compare -Wconditional-uninitialized -Wincompatible-pointer-types-discards-qualifiers -Wmissing-variable-declarations