]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: debug: silence warning on gcc-5
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Jul 2022 11:09:54 +0000 (13:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Jul 2022 12:13:48 +0000 (14:13 +0200)
commit481edaceb8f1cb2fa817ca4c4d6dec12edef17c9
tree3a1f1b71c27dbac1220f9bd66c980c173d4ebb15
parent0d023774bff9cfc49ab5665f73c6258f0f60f9b3
BUILD: debug: silence warning on gcc-5

In 2.6, 8a0fd3a36 ("BUILD: debug: work around gcc-12 excessive
-Warray-bounds warnings") disabled some warnings that were reported
around the the BUG() statement. But the -Wnull-dereference warning
isn't known from gcc-5, it only arrived in gcc-6, hence makes gcc-5
complain loudly that it doesn't know this directive. Let's just
condition this one to gcc-6.
include/haproxy/bug.h