美文网首页iOS归纳
"operator new[](unsigned lo

"operator new[](unsigned lo

作者: 小福8090 | 来源:发表于2019-01-18 11:11 被阅读10次

    1.
    "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++代码

    2

    解决方法:导入libc++.tbd

    相关文章

      网友评论

        本文标题:"operator new[](unsigned lo

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