Apparently, STL precursors of the C++ standard library used to include hash-based containers in a header file named hash_map.h
(specifically, I guess, a hash_map
container). But - the C++ standard library does not have a <hash_map>
; and AFAIK unordered_map
is not exactly the same thing.
Now, I'm trying to build this old codebase and I've just noticed it includes <hash_map.h>
.
What should I do to get the code to build, assuming I'm using Devuan Beowulf (~= Debian Buster) Linux on an AMD64 machine?
Notes:
- I don't want to replicate a complete 10-year-old development environment; this codebase should eventually be buildable with my (or any modern) Linux distribution.
I'm willing to:
- Make minor changes to the code.
- Install some distribution-appropriate packages.
- Install something under
/usr/local
in decreasing order of preference.