PCDVD數位科技討論區

PCDVD數位科技討論區 (https://www.pcdvd.com.tw/index.php)
-   疑難雜症區 (https://www.pcdvd.com.tw/forumdisplay.php?f=34)
-   -   [求助]關於g++ compiler的問題 (https://www.pcdvd.com.tw/showthread.php?t=667455)

bluetabris 2006-10-31 04:50 PM

[求助]關於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

請知道的大大解答一下 ... >"<


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

vBulletin Version 3.0.1
powered_by_vbulletin 2026。