pc-lint嵌入到 SOURCE INSIGHT中
来源:互联网 发布:浮雕软件哪个好 编辑:程序博客网 时间:2024/05/17 08:04
首先安装和配置好PC-LINT。
我安装后发现config.exe不能完全用,导致生成的std_x.lnt文件的信息有些要手动添加,
而且不会在安装目录下生成配置中产生的文件,导致运行时找不到某些文件其实。
我们可以将安装目录中LNT中需要的文件拷贝出来,完全可以手动解决。
后来到PC-LINT的官网(http://www.gimpel.com/html/ptch80.htm)下了个CONFIG.EXE,问题解决了。
文件env-si.lnt中已经说明了将PC-LINT嵌入到SOURCE INSIGHT中的方法:
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.
我安装后发现config.exe不能完全用,导致生成的std_x.lnt文件的信息有些要手动添加,
而且不会在安装目录下生成配置中产生的文件,导致运行时找不到某些文件其实。
我们可以将安装目录中LNT中需要的文件拷贝出来,完全可以手动解决。
后来到PC-LINT的官网(http://www.gimpel.com/html/ptch80.htm)下了个CONFIG.EXE,问题解决了。
文件env-si.lnt中已经说明了将PC-LINT嵌入到SOURCE INSIGHT中的方法:
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.
- pc-lint嵌入到 SOURCE INSIGHT中
- source insight 整合pc-lint
- pc-lint source insight设置
- 将PC-LINT功能集成在Source Insight中
- 如何在Source Insight中配置Pc Lint
- 如何在Source Insight中配置Pc Lint
- source Insight 结合PC-lint的方法
- 使用pc-lint 集成到sourec insight
- pc link整合到source insight中,用于代码查错
- VS2010+Source Insight +PC-Lint开发环境搭建
- VS2010+Source Insight +PC-Lint开发环境搭建
- 将pc-lint嵌入vs2005中
- source insight 窗口嵌入
- source insight 窗口嵌入
- PC-lint嵌入VS2005 总结
- source insight 集成VC6.0 编译功能、pc-lint在si和vc下配置
- source insight 工程窗口的嵌入停靠
- source Insight添加.s文件到工程中
- PostgreSQL 7.2 程序员手册
- 林锐C++/C高质量编程附录答案(二)
- Windows XP上安装瑞星防火墙不影响连接共享
- 国外标准网页(一)
- HttpConnection
- pc-lint嵌入到 SOURCE INSIGHT中
- 关于IBatisNet的配置文件中数据库连接字符串加密处理
- 通过js读取或设置FCKeditor中的值
- REST和SOAP
- 国外标准网页制作(2)
- MathMSN
- 一天在电脑前超过4小时一定要看!-祝IT同仁们身体健康~
- 七种qsort排序方法
- 好好想一想