我安装了RegexKitLite,一切运行正常,除了在编译应用程序时有许多关于潜在泄漏的“分析结果”。这些警告来自RegexKitLite.m
在安装过程中我是否遗漏了什么?
谢谢
发布于 2010-08-11 06:35:50
在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...。这似乎表明,有人,可能是作者,已经调查了这些警告,并确定它们是“假阳性”。甚至可能会有一些bug提交给clang。
https://stackoverflow.com/questions/3452195
复制相似问题