有谁知道如何获取 Mac、Windows 和 Linux 的 lint?sudo port install lint找不到它。
sudo port install lint
我只见过 BSD 的 lint。有splint http://www.splint.org/但是,GPL lint 重写可以在大多数 Linux 发行版上使用。