add new error code CS_ERR_MEMSETUP to report error when user-defined dynamic mem management is uninitialized