[openssl] OpenSSL_1_1_1-stable update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Sun Sep 8 09:02:43 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  ad9c296c529d3eba67a51118c8e5d875d17f6d07 (commit)
      from  95803917ad1f4e719212cb59d44be2e547b6d8c8 (commit)


- Log -----------------------------------------------------------------
commit ad9c296c529d3eba67a51118c8e5d875d17f6d07
Author: Dr. Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Date:   Tue Jul 23 20:54:03 2019 +0200

    Configure: clang: move -Wno-unknown-warning-option to the front
    
    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 turned out to be a problem on the 1.0.2 stable branch
    in the case of the '-Wextended-offsetof' option, which was removed in version 6.0.0,
    but needs to be kept here in order to support older clang versions, too (see #9446).
    
    Incidentally, master and 1.1.1 branch already contained the -Wno-unknown-warning-option
    option. Due to its special role and its importance, this commit adds an explaining
    commit message and moves the option to the front.
    
    [extended tests]
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9447)
    
    (cherry picked from commit 03e5668343078b963cc6544ad7270743de13e514)

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

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

diff --git a/Configure b/Configure
index 8f41096c18..5a699836f3 100755
--- a/Configure
+++ b/Configure
@@ -142,13 +142,13 @@ my @gcc_devteam_warn = qw(
 #       -Wunused-macros -- no, too tricky for BN and _XOPEN_SOURCE etc
 #       -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
     -Wconditional-uninitialized
     -Wincompatible-pointer-types-discards-qualifiers
-    -Wno-unknown-warning-option
     -Wmissing-variable-declarations
 );
 


More information about the openssl-commits mailing list