Commit e8dc6580 authored by Richard Levitte's avatar Richard Levitte
Browse files

Revert "Configure: stop forcing use of DEFINE macros in headers"



Github PR #8246 provides a better solution to the problem.

This reverts commit f11ffa50.

[extended tests]

Reviewed-by: default avatarNicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/8247)

(cherry picked from commit 4089b434)
parent 555b2593
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -144,8 +144,6 @@ my $gcc_devteam_warn = "-DDEBUG_UNUSED"
#       -Wlanguage-extension-token -- no, we use asm()
#       -Wlanguage-extension-token -- no, we use asm()
#       -Wunused-macros -- no, too tricky for BN and _XOPEN_SOURCE etc
#       -Wunused-macros -- no, too tricky for BN and _XOPEN_SOURCE etc
#       -Wextended-offsetof -- no, needed in CMS ASN1 code
#       -Wextended-offsetof -- no, needed in CMS ASN1 code
#       -Wunused-function -- no, it forces header use of safestack et al
#                            DEFINE macros
my $clang_devteam_warn = ""
my $clang_devteam_warn = ""
        . " -Wswitch-default"
        . " -Wswitch-default"
        . " -Wno-parentheses-equality"
        . " -Wno-parentheses-equality"
@@ -155,7 +153,6 @@ my $clang_devteam_warn = ""
        . " -Wincompatible-pointer-types-discards-qualifiers"
        . " -Wincompatible-pointer-types-discards-qualifiers"
        . " -Wmissing-variable-declarations"
        . " -Wmissing-variable-declarations"
        . " -Wno-unknown-warning-option"
        . " -Wno-unknown-warning-option"
        . " -Wno-unused-function"
        ;
        ;


# This adds backtrace information to the memory leak info.  Is only used
# This adds backtrace information to the memory leak info.  Is only used