summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2021-05-19 11:09:49 -0400
committerRichard Levitte <levitte@openssl.org>2021-05-28 10:04:31 +0200
commita935791d54078f43209ffbc1886ac5e68772ce34 (patch)
tree3f130fe3e12b6671584ff421984542579d5268a8 /Configure
parent6bf3692d311ad15d3667e7015bbe1a8f849f3c7b (diff)
Rework and make DEBUG macros consistent.
Remove unused -DCONF_DEBUG and -DBN_CTX_DEBUG. Rename REF_PRINT to REF_DEBUG for consistency, and add a new tracing category and use it for printing reference counts. Rename -DDEBUG_UNUSED to -DUNUSED_RESULT_DEBUG Fix BN_DEBUG_RAND so it compiles and, when set, force DEBUG_RAND to be set also. Rename engine_debug_ref to be ENGINE_REF_PRINT also for consistency. Fixes #15357 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15353)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/Configure b/Configure
index 92f7526bfa..3a9ef03a6e 100755
--- a/Configure
+++ b/Configure
@@ -136,7 +136,6 @@ EOF
# get past these. Note that we only use these with C compilers, not with
# C++ compilers.
-# DEBUG_UNUSED enables __owur (warn unused result) checks.
# -DPEDANTIC complements -pedantic and is meant to mask code that
# is not strictly standard-compliant and/or implementation-specific,
# e.g. inline assembly, disregards to alignment requirements, such
@@ -150,9 +149,9 @@ EOF
# but 'long long' type.
my @gcc_devteam_warn = qw(
- -DDEBUG_UNUSED
- -DPEDANTIC -pedantic -Wno-long-long
+ -DPEDANTIC -pedantic -Wno-long-long -DUNUSEDRESULT_DEBUG
-Wall
+ -Wmissing-declarations
-Wextra
-Wno-unused-parameter
-Wno-missing-field-initializers