use of STL extension hash_map.h, osf1/Tru64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Krzysztof Kosinski |
Bug Description
I'm trying to build inkscape (0.41 and/or recent CVS) on
alphaev56-dec-osf 5.1b (Tru64 UNIX 5.1b) with the
vendor toolchain.
Building inkscape fails on gradient-
because verbs.h includes hash_map.h.
Tru64 has a good C++ compiler and the stock STL, but it
doesn't include any of the STL extensions (like
hash_map/
Using g++ to build inkscape would be a last resort, because
- all of the prerequisite libraries have been built
with the vendor cxx compiler, and mixing gcc and
non-gcc libraries is known to sometimes cause stability
problems (and would likely be worse for C++ than stock C).
- executables and libraries built with gcc/g++ are
often significantly slower on commercial UNIXes than
executables/
compiler. This is definitely true for Tru64. The
vendor cc/cxx produce much more optimized code in most
cases.
With that in mind, is there any way to work around the
abscense of hash_map.h? Comments in verbs.h seem to
indicate that switching to GHashTables is planned,
which would (I think) get rid of the dependency on
hash_map.h.
What kind of a priority is that, and any idea how much
work it would be?
Changed in inkscape: | |
status: | New → In Progress |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Ted, I think it's your code.
Would a simple std::map work?