The branch OpenSSL_1_0_2-stable has been updated
via 0b8c12f57a63b895b9192846f79ce73db0153c02 (commit)
from 56fbd5cff879a1d06e6b2023f43aebecc75fde2b (commit)
- Log -----------------------------------------------------------------
commit 0b8c12f57a63b895b9192846f79ce73db0153c02
Author: Bernd Edlinger <[email protected]>
Date: Wed Feb 22 21:40:41 2017 +0100
Add -Wundef to --strict-warnings options. Fix some warnings.
Reviewed-by: Andy Polyakov <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/2714)
-----------------------------------------------------------------------
Summary of changes:
Configure | 2 +-
test/testutil.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Configure b/Configure
index da0230a..fd7988e 100755
--- a/Configure
+++ b/Configure
@@ -109,7 +109,7 @@ my $usage="Usage: Configure [no-<cipher> ...]
[enable-<cipher> ...] [experimenta
# Minimum warning options... any contributions to OpenSSL should at least get
# past these.
-my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long
-Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Werror
-DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED";
+my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long
-Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Wundef -Werror
-DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED";
# TODO(openssl-team): fix problems and investigate if (at least) the following
# warnings can also be enabled:
diff --git a/test/testutil.h b/test/testutil.h
index 75f0c8a..e40b37e 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -103,7 +103,7 @@
* TEST_CASE_NAME is defined as the name of the test case function where
* possible; otherwise we get by with the file name and line number.
*/
-# if __STDC_VERSION__ < 199901L
+# if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
# if defined(_MSC_VER)
# define TEST_CASE_NAME __FUNCTION__
# else
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits