From 01b76c2c5d4d786cfcb3cc048d9c0c47229a0aa0 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 23 Feb 2017 14:52:23 +0100 Subject: 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 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2712) --- Configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Configure') diff --git a/Configure b/Configure index e24980ac8f..4404963aa7 100755 --- a/Configure +++ b/Configure @@ -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 -- cgit v1.2.3