美文网首页
集成银联sdk后会报以下错误"std::terminate()"

集成银联sdk后会报以下错误"std::terminate()"

作者: Bymainforce | 来源:发表于2016-04-28 12:47 被阅读0次

    "std::terminate()", referenced from:

    "operator delete[](void*)", referenced from:

    "operator delete(void*)", referenced from:

    "operator new[](unsigned long)", referenced from:

    "operator new(unsigned long)", referenced from:

    "___cxa_begin_catch", referenced from:

    "___gxx_personality_v0", referenced from:

    是因为工程不支持C++,(错误中出现两个冒号的一般都是工程不支持C++的问题)

    解决办法:将调用银联接口的文件后缀改为 .mm  即可

    .c  C代码

    .cpp C++代码

    .m  C代码 + OC代码

    .MM C代码 + OC代码 + C++代码

    相关文章

      网友评论

          本文标题:集成银联sdk后会报以下错误"std::terminate()"

          本文链接:https://www.haomeiwen.com/subject/tjhhrttx.html