haproxy/dev/haring
Willy Tarreau 46e0ea33e2 DEV: haring: automatically disable DEBUG_STRICT
Ideally haring should be compiled with the same options as haproxy so
that ring headers have the same size (e.g. with/without locks, with/
without lock debugging). But when enabling DEBUG_STRICT, BUG_ON() is
enabled and breaks the build by making references to complain() and
ha_backtrace_to_stderr().

Let's just disable DEBUG_STRICT before opening include files. This is
sufficient to address the problem.

This may be backorted to older versions that include haring.
2023-05-04 08:09:02 +02:00
..
haring.c DEV: haring: automatically disable DEBUG_STRICT 2023-05-04 08:09:02 +02:00
README DEV: haring: add a simple utility to read file-backed rings 2022-08-12 11:48:32 +02:00

This needs to be built from the top makefile, for example :

  make dev/haring/haring