中国开发网: 论坛: 程序员情感CBD: 贴子 67058
haitao
那linux怎么办?而我原来没报错的使用了list.h的cpp在linux下已经报错了
[qqq@localhost mp]$ make
g++ -c -g -D_DEBUG ../comm/CommLog.cpp
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
from ../comm/CommLog.cpp:27:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
../comm/CommLog.cpp: In function `int commlogInit(const char*)':
../comm/CommLog.cpp:118: statement cannot resolve address of overloaded
function
make: *** [CommLog.o] Error 1

这个错是什么意思?是list.h的错还是CommLog.cpp的错?

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录