The function cps_class_attr_is_embedded() is defined to return a bool type. In the "false" case, it returns a nullptr with no cast. This is a build error with certain compiles.
I suggest the following fix.
Change...
if (p==nullptr) return nullptr;
To...
if (p==nullptr) return false;