RegexKitLite 问题

发布于 2024-09-13 08:54:03 字数 117 浏览 8 评论 0原文

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

我在安装过程中是否遗漏了某些内容?

谢谢

I installed RegexKitLite and everything functioning well, except there are many "analyzer results" about potential leaks when compiling the app. These warning are from the RegexKitLite.m

Do I missing something during the installation?

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

韵柒 2024-09-20 08:54:03

在 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 提交的。

Before posting a question on Stack Overflow, you did make an effort to figure it out yourself, right? I'm just asking because this basically involves pushing that mouse pointer you see on your screen over one of those analyzer warnings and clicking. This will cause the offending line to be displayed in the editor. And on that offending line, there are comments such as:

// .. 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.

... which would seem to suggest that someone, possibly the author, has investigated these warnings and determined that they are "false positives". There's probably even bugs filed with clang about a few of these.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文