----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/1158/#review2599 -----------------------------------------------------------
Ship it! Ship It! - Steve Reinhardt On April 18, 2012, 9:53 p.m., Andreas Hansson wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/1158/ > ----------------------------------------------------------- > > (Updated April 18, 2012, 9:53 p.m.) > > > Review request for Default. > > > Description > ------- > > clang/gcc: Use STL hash function for int64_t and uint64_t > > This patch changes the guards for the definition of hash functions to > also exclude the int64_t and uint64_t hash functions in the case we > are using the c++0x STL <unordered_map> (and <hash>) or the TR1 > version of the same header. Previously the guard only covered the hash > function for strings, but it seems there is also no need to define a > hash for the 64-bit integer types, and this has caused problems with > builds on 32-bit Ubuntu. > > > Diffs > ----- > > src/base/hashmap.hh bbceb6297329 > > Diff: http://reviews.gem5.org/r/1158/diff/ > > > Testing > ------- > > Compiled and ran with gcc 4.3, 4.6 and clang 2.9 > > > Thanks, > > Andreas Hansson > > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
