PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 其他群組 > 疑難雜症區
帳戶
密碼
 

回應
 
主題工具
bluetabris
Regular Member
 

加入日期: Apr 2004
文章: 64
[求助]關於g++ compiler的問題

在 g++ 3.2.3 沒有問題
可是在g++ 3.3.1 會有下面的錯誤

錯誤訊息:

g++ fplan.cpp -c -g -O2 -DNDEBUG
fplan.cpp: In member function `double FPlan::calcWireLength()':
fplan.cpp:272: error: `assert' undeclared (first use this function)
fplan.cpp:272: error: (Each undeclared identifier is reported only once for each function it appears in.)
fplan.cpp: In member function `void FPlan::list_information()':
fplan.cpp:326: error: `assert' undeclared (first use this function)
make: *** [fplan.o] Error 1

請知道的大大解答一下 ... >"<
     
      
舊 2006-10-31, 04:50 PM #1
回應時引用此文章
bluetabris離線中  


回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼關閉



所有的時間均為GMT +8。 現在的時間是07:33 PM.


vBulletin Version 3.0.1
powered_by_vbulletin 2025。