The parent class of the function "name" has an access permission (PRIVATE, PROTECTED, or PUBLIC) different from this declaration.