美文网首页
Xcode C 方法重名会互相覆盖

Xcode C 方法重名会互相覆盖

作者: 公爵海恩庭斯 | 来源:发表于2018-02-01 11:34 被阅读19次

    Be serious when writing C functions. When writing a C function with the same name with the system function, the new writing function will override the original, without any warning.

    image.png

    We've met this issue when we were using a dynamic framework, coming with a C function named strptime, which is the same as function provided by system.

    相关文章

      网友评论

          本文标题:Xcode C 方法重名会互相覆盖

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