读书人

求圣人指点PC-LINT

发布时间: 2012-08-26 16:48:05 作者: rapoo

求高人指点PC-LINT
我下载的是pc-lint9.0,集成到source insight中后,运行出来有一堆乱码,是什么原因啊 ?

[解决办法]

探讨
我的bat文件也打不开,双击,闪一下就关了,这是怎么回事啊

[解决办法]
设置有问题,PC-Lint中有关于SourceInsight的设置,在lnt\下,有一个env-si.lnt的文件,按照说明进行配置就行了
具体设置说明如下
/*
env-si.lnt: The environment file to run PC-lint from within the
Source Insight Editor.

To set up Source Insight to run PC-lint from a custom command
do the following:

1) Select custom commands from the options menu.

a) Enter "PC-lint unit check" as the Name of the new command.

b) Enter in the run edit box the following:

c:\lint\lint -u -ic:\lint std env-si %f

Where c:\lint is your lint directory.

c) Check the following check boxes/radio buttons

Iconic Window
Capture Output
Save Files First
Parse Links in Output
File, then Line

d) Enter the following expression in the Pattern edit box

^\([^ ]*\) \([0-9]+\)

This indicates that Messages are identified by:
File-name blank line-number

In order to run PC-lint, select from the Options menu the
Custom Commands. Then select PC-lint from the Command
and click on the run button.
*/
如果还有问题的话说一下,我现在没有SI

读书人网 >C语言

热点推荐