【发布时间】:2010-08-10 18:32:50
【问题描述】:
我安装了 RegexKitLite,一切运行良好,除了在编译应用程序时有许多关于潜在泄漏的“分析器结果”。这些警告来自 RegexKitLite.m
我在安装过程中是否遗漏了什么?
谢谢
【问题讨论】:
标签: iphone ios regexkitlite
我安装了 RegexKitLite,一切运行良好,除了在编译应用程序时有许多关于潜在泄漏的“分析器结果”。这些警告来自 RegexKitLite.m
我在安装过程中是否遗漏了什么?
谢谢
【问题讨论】:
标签: iphone ios regexkitlite
在 Stack Overflow 上发布问题之前,您确实已经努力自己弄清楚了,对吧?我只是问,因为这基本上涉及将您在屏幕上看到的鼠标指针推到其中一个分析器警告上并单击。这将导致有问题的行显示在编辑器中。在那条违规线上,有一些cmets,例如:
// .. but only if this is not replacing a mutable self. Warning about potential leak can be safely ignored.
// otherwise, create a new string. Warning about potential leak can be safely ignored.
// The two warnings about potential leaks can be safely ignored.
// Warning about potential leak of Core Foundation object can be safely ignored.
// Warning about potential leak can be safely ignored.
...这似乎表明某人,可能是作者,已经调查了这些警告并确定它们是“误报”。 clang 甚至可能有关于其中一些的错误。
【讨论】: