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

Michael Wetherell mike.wetherell at ntlworld.com
Thu Nov 2 04:10:49 PST 2006


On Thursday 02 Nov 2006 11:53, Jan van Dijk wrote:
> On Wednesday 01 November 2006 23:52, Michael Wetherell wrote:
> > On Wednesday 01 Nov 2006 22:23, Vadim Zeitlin wrote:
> > > 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).
> >
> > Ok will do.
> > Regards,
> > Mike
>
> Is this also going to be fixed for 2.7.2? Otherwise the release will
> be more or-less unusable for (most) 64bit systems...

Yes and it works currently.
Regards,
Mike




More information about the wx-dev mailing list