On Tuesday, 9 November 2021 at 19:34:44 UTC, Stefan Koch wrote:
What's happening here is that dmd seems to see `free` as function rather than a pointer to a function.changing `static void* (*ppmalloc)(size_t) = malloc;` to `static void* (*ppmalloc)(size_t) = &malloc;` may solve your issue.
Thanks for the answer but this seems to create even more bugs
