Recent distros feature GCC 15 which defaults to C23.
ATOMIC_VAR_INIT has been removed from the C23 standard.
This causes the following build failure:
mem.c:72:39: fout: implicit declaration of function ‘ATOMIC_VAR_INIT’; did you mean ‘ATOMIC_FLAG_INIT’? [-Wimplicit-function-declaration]
72 | static atomic_size_t max_alloc_size = ATOMIC_VAR_INIT(INT_MAX);
| ^~~~~~~~~~~~~~~
| ATOMIC_FLAG_INIT
Workaround this by telling the compiler to build using GNU 17 instead.