求高人指点PC-LINT

猫猫琴 2012-08-01 10:50:25
我下载的是pc-lint9.0,集成到source insight中后,运行出来有一堆乱码,是什么原因啊 ?
...全文
153 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
猫猫琴 2012-08-03
  • 打赏
  • 举报
回复
嗯,现在能用了,呵呵,谢谢你
china7628 2012-08-03
  • 打赏
  • 举报
回复
设置有问题,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
赵4老师 2012-08-01
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 的回复:]
我的bat文件也打不开,双击,闪一下就关了,这是怎么回事啊
[/Quote]
在cmd窗口里面输入bat文件的名字
猫猫琴 2012-08-01
  • 打赏
  • 举报
回复
我的bat文件也打不开,双击,闪一下就关了,这是怎么回事啊
猫猫琴 2012-08-01
  • 打赏
  • 举报
回复
没有人回么?
猫猫琴 2012-08-01
  • 打赏
  • 举报
回复
不是吧
猫猫琴 2012-08-01
  • 打赏
  • 举报
回复
不是吧
赵4老师 2012-08-01
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 的回复:]
我的PC-LINT 能够使用,但是有时候运行出来报的错误当中有乱码出现,是什么原因?
[/Quote]
pc lint软件不是中文版?
猫猫琴 2012-08-01
  • 打赏
  • 举报
回复
我的PC-LINT 能够使用,但是有时候运行出来报的错误当中有乱码出现,是什么原因?

69,373

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧