0

我安装了 RegexKitLite,一切运行良好,除了在编译应用程序时有许多关于潜在泄漏的“分析器结果”。这些警告来自 RegexKitLite.m

我在安装过程中遗漏了什么吗?

谢谢

4

1 回答 1

7

在 Stack Overflow 上发布问题之前,您确实已经努力自己弄清楚了,对吧?我只是问,因为这基本上涉及将您在屏幕上看到的鼠标指针推到其中一个分析器警告上并单击。这将导致有问题的行显示在编辑器中。在那条有问题的线上,有如下评论:

// .. 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有一些关于其中一些的错误提交。

于 2010-08-10T22:35:49.973 回答