diff options
author | Rich Salz <rsalz@openssl.org> | 2017-02-23 09:48:49 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-23 09:48:49 -0500 |
commit | 4c3376ec2747ebd69b3da68d2d18b155fac5c03f (patch) | |
tree | 4cf4453717d50777a7df7c21904d813bfd6b0987 /Configure | |
parent | 6db2b1490e5da1255f4158dc8c2d4a2dd87cbe7b (diff) |
Add -Wundef to strict-warnings
Avoid a -Wundef warning in o_str.c
Avoid a -Wundef warning in testutil.h
Include internal/cryptlib.h before openssl/stack.h
to avoid use of undefined symbol OPENSSL_API_COMPAT.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2709)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -121,6 +121,7 @@ my $gcc_devteam_warn = "-DDEBUG_UNUSED" . " -Wshadow" . " -Wformat" . " -Wtype-limits" + . " -Wundef" . " -Werror" ; @@ -143,6 +144,7 @@ my $clang_devteam_warn = "" . " -Wconditional-uninitialized" . " -Wincompatible-pointer-types-discards-qualifiers" . " -Wmissing-variable-declarations" + . " -Wundef" ; # This adds backtrace information to the memory leak info. Is only used |