mirror of
https://github.com/openssl/openssl.git
synced 2024-11-24 10:34:12 +08:00
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 3d9c6b16d8
)
This commit is contained in:
parent
cfe0bbdeca
commit
b5863e9259
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user