Xcode C 方法重名会互相覆盖

2018-02-01  本文已影响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.

上一篇下一篇

猜你喜欢

热点阅读