中国开发网: 论坛: 程序员情感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的错?
我的blog:http://szhaitao.blog.hexun.com & http://www.hoolee.com/user/haitao
--以上均为泛泛之谈--
不尽牛人滚滚来,无边硬伤纷纷现 人在江湖(出来的),哪能不挨刀(总归是要的)
网络对话,歧义纷生;你以为明白了对方的话,其实呢?

您所在的IP暂时不能使用低版本的QQ,请到:http://im.qq.com/下载安装最新版的QQ,感谢您对QQ的支持和使用

相关信息:


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