【求助】PC-lint初次使用,没有生成.out文件。
1、安装完成。
2、配置完成。(不清楚配置过程是否正确,正想试一下)
3、发现有一个test文件夹中,有例子。里面有.out文件。给出错误和警告信息。
4、配置文件夹为:config,其中生成一个lin.bat文件。文件内容如下:
"(省略)\lint\Lint-nt" +v -i"(省略)\lint\config" std.lnt -os(_LINT.TMP) %1 %2 %3 %4 %5 %6 %7 %8 %9
type _LINT.TMP | more
@echo off
echo ---
echo output placed in _LINT.TMP
5、我把lin.bat拷贝到某源文件.c的同一目录下,双击运行,结果生成一个空的_LINT.TMP文件。并没有.out文件。
是不是因为我以上操作中有不正确的地方?
[解决办法]
i remember you not only need to copy lint.bat into your source file folder, but also need to copy config files to it.
[解决办法]
what's the error information?
does environment variables configurated right?
[解决办法]
sorry, i do not have Lint tools in hand, just do it according to the spec, carefully!!
good luck!!
[解决办法]
找不到头文件!! 你查看一下路径 对不对啊