[openssl] OpenSSL_1_1_0-stable update

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


The branch OpenSSL_1_1_0-stable has been updated
       via  d374a61bb702a8ae13699dfbdcbd819c78095cd5 (commit)
      from  c31be97c64ab61d44d80fccce4deff976d4f9bbb (commit)


- Log -----------------------------------------------------------------
commit d374a61bb702a8ae13699dfbdcbd819c78095cd5
Author: Dr. Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Date:   Tue Jul 23 20:54:03 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: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9804)

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

Summary of changes:
 Configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Configure b/Configure
index a1ce65239e..cf5a8bec59 100755
--- a/Configure
+++ b/Configure
@@ -142,6 +142,7 @@ my $gcc_devteam_warn = "-DDEBUG_UNUSED"
 #       -Wunused-macros -- no, too tricky for BN and _XOPEN_SOURCE etc
 #       -Wextended-offsetof -- no, needed in CMS ASN1 code
 my $clang_devteam_warn = ""
+        . " -Wno-unknown-warning-option"
         . " -Qunused-arguments"
         . " -Wno-language-extension-token"
         . " -Wno-extended-offsetof"


More information about the openssl-commits mailing list