Actions
Cleanup #871
closedreplace gnu_cxx::hash_map with tr1::unordered_set
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
gcc has started giving me this warning message about gnu_cxx::hash_map:
/usr/include/c++/4.4/backward/backward_warning.h:28: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.
In a 2005 message, pcarlini comments that "it's very unlikely that the hash_* extensions will be fixed, since we are in the process of adding the new unordered containers in "tr1", which will provide similar functionalities in a portable way." So in other words, gnu_cxx::hash_map is deprecated and may not get bugfixes or enhancements in the future.
Actions