Mantis - Kaputt
Erweiterte Problemanzeige
57 general schwerer Fehler immer 2010-01-13 23:04 2010-01-16 11:37
xclerc  
xclerc  
normal  
erledigt 1.0  
erledigt  
keine    
keine 1.1  
0000057: Tests fail on 64-bit platform
When running the tests (through "make tests") after successful compilation,
the process fails on 64-bit platforms with the following error:
  Fatal error: exception Invalid_argument("Random.int")

The problem stems from the fact that "Random.int" (and "Random.State.int",
for that matter) accepts a value that is less than 2**30, while Kaputt issues
calls with the "max_int" value. The "max_int" value is 2**30-1 on 32-bit
platforms, but 2**62-1 on 64-bit platforms. Hence the bug.
Problem-Historie
2010-01-13 23:04 xclerc Neues Problem
2010-01-16 11:37 xclerc Problemnotiz hinzugefügt: 0000206
2010-01-16 11:37 xclerc Status neu => erledigt
2010-01-16 11:37 xclerc Behoben in Version => 1.1
2010-01-16 11:37 xclerc Lösung offen => erledigt
2010-01-16 11:37 xclerc Bearbeitung durch => xclerc

Notiz
(0000206)
xclerc   
2010-01-16 11:37   
The problem has been fixed in the darcs repository.