hash_map
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
g++ 4.4.7版本,大致是ext/hash_map不再属标准C++,将会过期,或在新的版本中被遗弃
查到以下一句话:
c++11标准里已经有unordered_map,实际上就是hash_map,为了避免名字重复用了那个名字,hash_map是非标准的。
1如果坚持要hash_map的话,可以在GCC C++ Compiler 的 g++ 杂项的编译参数加入 -Wno-deprecated。