|
|||||||||||
| 技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng) 驅(qū)動編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機(jī) | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計 | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe |
請教SourceInsight中使用PC-lint |
| 作者:brm00 欄目:嵌入式系統(tǒng) |
請教各位DX在SourceInsight中使用PC-lint,我在網(wǎng)上找了很多資料,但是沒有一個可以正確的設(shè)置成功,現(xiàn)在的心情=(沮喪+郁悶)^2 |
| 2樓: | >>參與討論 |
| 作者: rockos 于 2006/12/20 17:05:00 發(fā)布:
easy 我現(xiàn)在正用著呢: ![]() * - 本貼最后修改時間:2006-12-20 17:20:52 修改者:rockos |
|
| 3樓: | >>參與討論 |
| 作者: brm00 于 2006/12/21 9:03:00 發(fā)布:
to rockos rockos,怎么聯(lián)系你呀,我在msn中加你為好友了。是不是std.lnt的文件內(nèi)容導(dǎo)致的呀?可以詳細(xì)的介紹一下嗎?謝謝了。 |
|
| 4樓: | >>參與討論 |
| 作者: brm00 于 2006/12/21 9:15:00 發(fā)布:
還是不清楚 rockos,謝謝,你好,我按照: /* 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-nt -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. */ -"format=%f %l %t %n: %m" -hfa_3 做過了但還是不行,請問std.lnt文件是如何生成的?他的內(nèi)容是什么?我在網(wǎng)上找了一些創(chuàng)建std.lnt的方法,是用記事本改擴(kuò)展名的,內(nèi)容如下: // contents of std.lnt c:\pclint\co-msc60.lnt c:\pclint\lib-w32.lnt c:\pclint\options.lnt -si4 -sp4 -i"D:\Program Files;D:\Program Files\Microsoft Visual Studio\VC98\Include" //end 我試過了,不行,好像這個是給VC++6用的,但是給SourceInsight用的該如何改呢? 請教rockos |
|
| 5樓: | >>參與討論 |
| 作者: brm00 于 2006/12/21 9:29:00 發(fā)布:
to rockos 你快回來,我一人承受不來..... 你快回來,我一人搞不定PC-lint...... 你快回來,Pc-lint因你而精彩....... |
|
| 6樓: | >>參與討論 |
| 作者: rockos 于 2006/12/21 9:55:00 發(fā)布:
兄弟,沒有我天蹋不下來 兄弟,沒有我天蹋不下來 |
|
|
|
| 免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進(jìn)入 |
Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號 |