diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-02-23 14:52:23 +0100 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-02-24 09:21:59 +0100 |
commit | 01b76c2c5d4d786cfcb3cc048d9c0c47229a0aa0 (patch) | |
tree | c08be97dfeed4dd7bf71c109485b6f3d46180647 /Configure | |
parent | 75c13e7830653eee4b61dd96ceea7c446c381316 (diff) |
Add -Wundef to --strict-warnings options.
Avoid a -Wundef warning in refcount.h
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/2712)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -124,6 +124,7 @@ my $gcc_devteam_warn = "-DDEBUG_UNUSED" . " -Wshadow" . " -Wformat" . " -Wtype-limits" + . " -Wundef" . " -Werror" ; @@ -147,6 +148,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 |