Tim Blechmann | 25 Nov 10:37
Favicon

Re: [Review] UUID library (mini-)review starts today, November 23rd

>> libs/uuid/test/test_uuid.cpp(148): error in "test_main_caller( argc,
>> argv )": check uuid_hasher(u2) == 2713274306U failed
>> [4700797755868797762 != 2713274306]
>> 
>> *** 3 failures detected in test suite "Test Program"
> 
> Hmm, I assume that the value that uuid_hasher produces is correct since
> I
> mimicked the way Boost.Hash does it.  So, I believe I just need to
> adjust the
> code in test_uuid.cpp in a 64 bit environment where sizeof(std::size_t)
> != 32?

right ... i suppose the hardcoded value in test_uuid.cpp is only correct on
32 bit platforms ...

cheers, tim

--

-- 
tim <at> klingt.org
http://tim.klingt.org

The price an artist pays for doing what he wants is that he has to do
it.
  William S. Burroughs

Gmane