mkstack.pl inserts in the generated part of safestack.h calls to macro named CHECKED_CONST_PTR_OF which is not defined in the first part of safestack.h.
The right macro (the only present in safestack.h) should be CHECKED_PTR_OF. I have included a patch. Regards, Alberto Gaeta
mkstack.patch
Description: mkstack.patch