> We already have a #define for the hashmap namespace. I don't see a
> huge problem with another one. So hash_map is deprecated and you don't
> get unordered_map without --std==c++0x? How annoying.  The only way I
> can see to check in the code if it's a c++0x compile is
> __GXX_EXPERIMENTAL_CXX0X__ which doesn't seem particularly portable. I
> think I'm with you that disabling the warning is probably the best
> thing to do at this point and see where things shake out in a revision
> or two.

We can create a little SCons to tell us which we need to use.  Also,
the #define would actually have to be for the type name, not just the
namespace name, so we'd either have to #define unordered_map hash_map,
or come up with some random name.  Given the strange name, it might
not be so bad.  I guess I should try to figure out what other people
are doing to solve this.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to