Don't include declarations of malloc/free in the generated code (get the standard ones from system headers instead). Add a cast to (uint8_t *) before calls to malloc, which C++ requires, since proper malloc returns a void *.
144 KiB
144 KiB