[wx-dev] (64 bit) hashmap/long long problem in HEAD and 2.7.2

Vadim Zeitlin vadim at wxwindows.org
Wed Nov 1 14:23:31 PST 2006


On Wed, 1 Nov 2006 21:55:38 +0000 Michael Wetherell <mike.wetherell at ntlworld.com> wrote:

MW> The helper is there because on some 32-bit platforms the standard hash 
MW> doesn't work with 64-bit values. We don't need it when sizeof(long) is 
MW> 8. Anyway what you did works, so I'm not rushing to change it.

 I'm not happy about what I did because it limits the hash to wxUint32
which must be bad for the platforms where size_t is 64 bit. So if you're
sure this is not needed, please feel free to remove out longlongHash (but
the operators taking wx(U)LongLong_t should still remain I think).

 Thanks,
VZ





More information about the wx-dev mailing list