[openssl] OpenSSL_1_0_2-stable update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Sun Sep 8 08:55:08 UTC 2019


The branch OpenSSL_1_0_2-stable has been updated
       via  6a7bad0fd7a2125d075e459b33145d4ce5ee0de9 (commit)
      from  920e37e3a7d6bb935dba446eb80cacb4c34e7488 (commit)


- Log -----------------------------------------------------------------
commit 6a7bad0fd7a2125d075e459b33145d4ce5ee0de9
Author: Dr. Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Date:   Tue Jul 23 20:18:43 2019 +0200

    Configure: clang: add -Wno-unknown-warning-option
    
    Fixes travis build errors due to clang
    
        error: unknown warning option '-Wno-extended-offsetof'
    
    It seems like '-Wextended-offsetof' was removed from clang in version 6.0.0,
    (see [1], [2]). While gcc ignores unknown options of the type '-Wno-xxx',
    clang by default issues a warning [-Wunknown-warning-option] (see [3]), which
    together with '-Werror' causes the build to fail.
    
    This commit adds the '-Wno-unknown-warning-option' option to make clang
    behave more relaxed like gcc.
    
    [1] https://reviews.llvm.org/D40267
    [2] https://github.com/llvm/llvm-project/commit/52a3ca9e2909
    [3] https://clang.llvm.org/docs/DiagnosticsReference.html#wunknown-warning-option
    
    [extended tests]
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
    (Merged from https://github.com/openssl/openssl/pull/9446)

-----------------------------------------------------------------------

Summary of changes:
 Configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Configure b/Configure
index 3846c9133a..494e0b3d24 100755
--- a/Configure
+++ b/Configure
@@ -118,7 +118,7 @@ my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare
 # -Wincompatible-pointer-types-discards-qualifiers, -Wcast-align,
 # -Wunreachable-code -Wunused-parameter -Wlanguage-extension-token
 # -Wextended-offsetof
-my $clang_disabled_warnings = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token  -Wno-extended-offsetof";
+my $clang_disabled_warnings = "-Wno-unknown-warning-option -Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token  -Wno-extended-offsetof";
 
 # These are used in addition to $gcc_devteam_warn when the compiler is clang.
 # TODO(openssl-team): fix problems and investigate if (at least) the
@@ -128,7 +128,7 @@ my $clang_disabled_warnings = "-Wno-unused-parameter -Wno-missing-field-initiali
 # -Wincompatible-pointer-types-discards-qualifiers, -Wcast-align,
 # -Wunreachable-code -Wunused-parameter -Wlanguage-extension-token
 # -Wextended-offsetof
-my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof -Qunused-arguments";
+my $clang_devteam_warn = "-Wno-unknown-warning-option -Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof -Qunused-arguments";
 
 # Warn that "make depend" should be run?
 my $warn_make_depend = 0;


More information about the openssl-commits mailing list