作业帮 > 英语 > 作业

英语翻译求解!The "ambiguous symbol" error occurs when a smart poin

来源:学生作业帮 编辑:搜狗做题网作业帮 分类:英语作业 时间:2024/04/29 02:51:10
英语翻译求解!
The "ambiguous symbol" error occurs when a smart pointer interface definition such as IXMLDOMDocumentPtr is defined in both the MSXML2 namespace (through #import) and the global namespace (through Msxml.h), so that the symbol is ambiguous. When the compiler resolves the interfaces, the compiler looks first in Msxml.h, which has different signatures than those that #import generates.
英语翻译求解!The
当一个智能指针接口定义时会发生“模棱两可标志”错误,例如IXMLDOMDocumentPtr同时在MSXML2命名空间(通过#进口)和全局命名空间(通过Msxml.h )被规定/定义,此标志为模棱两可的.当编译器解析界面时,编译器会先在具有不同签名的Msxml.h工作.