Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
寻找一种方法让 PC-Lint 在 PC-lint 完成后显示所有抑制的警告类型。
背景:在一个大型旧项目上工作,有几个警告类型被抑制(-e#)并且没有适当地恢复。寻找一种方法来找到更多此类问题。
我不知道有什么方法可以用 PC-Lint 做到这一点。但我已经看到 grep 被用于此目的。只要有记录,我们就允许压制,并且我们有一个脚本来提取所有此类评论。为此编写一个正则表达式并不难。