Hello,
this problem is known to us. The reason is that in XCAFDoc_DocumentTool.cxx this method is implemented without class:: prefix. To temporary overcome the problem please remove class:: prefix in the place where you call this method. You can also remove the declaration of this method from the XCAFDoc_DocumentTool.hxx file.
Best regards,
Commenter-1