commit | d6ae912b04a38a544b2d37f549c7f86ae51e929c | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Dec 03 08:58:22 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Dec 03 08:58:28 2021 +0100 |
tree | 0bd501c7a38cb743fef5f33722ac1dca87e9151f | |
parent | af93d2fd70ef03d89d11b0d6b04e4f60a8ff002f [diff] |
BUILD: bug: Fix error when compiling with -DDEBUG_STRICT_NOCRASH ha_backtrace_to_stderr() must be declared in CRASH_NOW() macro whe HAProxy is compiled with DEBUG_STRICT_NOCRASH. Otherwise an error is reported during compilation: include/haproxy/bug.h:58:26: error: implicit declaration of function ‘ha_backtrace_to_stderr’ [-Werror=implicit-function-declaration] 58 | #define CRASH_NOW() do { ha_backtrace_to_stderr(); } while (0) This patch must be backported as far as 2.4.