|
我就在一个文件中包含#include<list>,结果编译的时候出现一大堆莫名其妙的错误:
In file included from /usr/include/c++/3.3.2/i386-redhat-linux/bits/c++locale.h:44,
from /usr/include/c++/3.3.2/iosfwd:46,
from /usr/include/c++/3.3.2/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.2/list:67,
from ../include/FTPNoteBook.h:15,
from FTPNoteBook.cc:1:
/usr/include/libintl.h:40: error: syntax error before `__const'
/usr/include/libintl.h:44: error: syntax error before `__const'
/usr/include/libintl.h:51: error: syntax error before `__const'
/usr/include/libintl.h:81: error: syntax error before `__const'
/usr/include/libintl.h:85: error: syntax error before `__const'
/usr/include/libintl.h:90: error: syntax error before `__const'
我编译的时候用的是g++的呀! |
|