summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2024-06-28 10:34:23 +0200
committerTomas Mraz <tomas@openssl.org>2024-07-03 11:26:26 +0200
commitb5863e9259e3c610304febe8b43ac3b1e3b22534 (patch)
tree8cf765be7a6ea716e7e9bb6b838f64b4bf32f08d
parentfix: remove some odd empty lines (diff)
downloadopenssl-b5863e9259e3c610304febe8b43ac3b1e3b22534.tar.xz
openssl-b5863e9259e3c610304febe8b43ac3b1e3b22534.zip
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 <bernd.edlinger@hotmail.de> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24758) (cherry picked from commit 3d9c6b16d8b8e75b73e2fd34849e930e2792f3a4)
-rwxr-xr-xConfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/Configure b/Configure
index 7132299611..37e0b51c4f 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