原创 Warning 534: Ignoring return value of function 'printf

534 Ignoring return value of function 'Symbol' (compare withLocation) -- A function that returns a value is called jus

原创 Info 716 while(1)

The more conventional form of infinite loop prefix is for(;;) WHY? https://stackoverflow.com/questions/17394671/prefere

原创 ARM9 重定位

ARM9彙編——adr r0, _start - OneSea的專欄 - CSDN博客  http://blog.csdn.net/q1302182594/article/details/51415983

原创 Source Insight 靜態檢查

在Source Insight集成Astyle(代碼格式化) 在Source Insight集成PC lint(靜態檢查) http://blog.csdn.net/frankywu2008/article/details/566848

原创 PCLint與SourceInsight

搭建PCLint與SourceInsight全套環境  http://blog.csdn.net/u012329294/article/details/42042083 SourceInsight與PC-LINT集成進行代碼靜態分析 

原创 note pad ++64 bit不能使用32bit插件。

X64PC 兼容模式使用 notepad++32bit 正常使用 compare, hex editor 等插件

原创 SourceInsight 4.0如何設置相對路徑

第一步:創建工程 project->New project 然後填寫相應的工程名和需要將source insight創建在哪個目錄下[通常情況創建一個專門存放source insight的目錄] 然後ok;進入new proje

原创 PC Lint 用法說明,文件的作用

PC-Lint是一款C/C++軟件代碼靜態分析工具,不僅可以檢查一般的語法錯誤,還可以檢查潛在的錯誤,比如數組訪問越界、內存泄漏、使用未初始化變量、使用空指針等。在單元測試前使用PC-Lint來檢查代碼,可以提前發現程序中的潛在的錯誤,

原创 arm-linux-gcc 4.4.3 安裝

1.加壓arm-linux-gcc-4.4.3.tar.gz 到根目錄下 2. #geidt /root/.bashrc  編輯文件 .bashrc 在文件的最後一行添加 export PATH=$PATH:/opt/FriendlyAR

原创 undefined reference to `__aeabi_uidivmod'和undefined reference to `__aeabi_uidiv'錯誤

關於交叉工具鏈編譯ARM裸機程序出現除法時的問題 增加 raise 空函數 http://bbs.csdn.net/topics/390318464?page=1 http://blog.chinaunix.net/uid-268

原创 Info 746:* is not made in the presence of a prototype

頭文件聲明, extern 聲明 function(void)中的void 都不能少

原创 C/C++靜態代碼檢查工具

如果能夠在代碼提交測試之前發現這些潛在的錯誤,就能夠極大地減輕測試人員的壓力,減少軟件項目的除錯成本,可是傳統的C/C++編譯器對此已經無能爲力,這個任務只能由專用的代碼檢查工具完成。有很多C/C++靜態代碼檢查工具,其中Logiscop

原创 In function `lcd_draw_circle': lcd.c:(.text+0x2d8): undefined reference to `__aeabi_idiv' lcd

環境 VMware® Workstation 9.0.2 build-1031769 gcc (GCC) 4.6.0 20110428 (Red Hat 4.6.0-6)@fedora15 arm-none-linux-gnueabi-g

原创 ubuntutogo遇到的坑

應該使用 Rufus 製作啓動盤,保證啓動方式可選爲”MBR“+”BIOS或UEFI“。 出自:《無法將grub-efi-amd64-signed軟件包裝到/target/中,如果沒有grub啓動引導器,所安裝的系統無法啓動正確思路》 網