GCC 除錯/g++/其他
外觀
- 使用 GCC 4.4.3 生成?
- 也可能產生“段錯誤”錯誤
- 可能導致程式執行在真正錯誤的程式碼區域之前中斷
- 檢查不匹配的函式宣告和定義
- 檢查函式定義中缺少或無效的返回型別
// function declaration below has no return type in its' definition
foo checkfoo();
// instead it should be
void checkfoo();
// function declaration below has no return type in its' definition
foo checkfoo();
// instead it should be
void checkfoo();