【问题标题】:xcode 7.3.1, getting error memcpy no member in namespacexcode 7.3.1,出现错误 memcpy no member in namespace
【发布时间】:2016-12-11 01:55:09
【问题描述】:

尝试为 iOS 编译一些 c / c++ 代码时。获取

No member named 'memcpy' in namespace 'std::__1'; did you mean 'wmemcpy'?

尝试了编译器设置,但没有成功。

这是在工具链的内存文件中。

【问题讨论】:

    标签: ios xcode compilation memcpy


    【解决方案1】:

    我需要添加

    #include <cstring>

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-10
      • 1970-01-01
      • 2014-07-17
      • 2022-10-22
      • 2022-06-23
      • 1970-01-01
      • 2018-10-18
      • 2014-05-18
      相关资源
      最近更新 更多