2 u014731570 u014731570 于 2016.01.20 23:09 提问

关于#include<ext/hash_map>问题

In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
from AlgorithmNBM.h:9,
from AlgorithmNBM.cpp:10:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
求大神相助,急,谢谢!!!

2个回答

caozhy
caozhy   Ds   Rxr 2016.01.20 23:17
91program
91program   Ds   Rxr 2016.01.20 23:17

增加编译选项:To disable this warning use -Wno-deprecated. [-Wcpp]

u014731570
u014731570 在哪里加?
接近 2 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!