Skip to content

rangeTest test fails on Windows

The CWchar type on Win32 is unsigned:

Prelude> minBound :: Foreign.C.Types.CWchar
0
Prelude> (-100) :: Foreign.C.Types.CWchar
65436

This causes the rangeTest test to fail:

CWchar R:  
Stderr:
rangeTest.exe: broke lower bound: 100

Ryan, could you take a look please?

Trac metadata
Trac field Value
Version 7.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/random
Test case
Differential revisions
BlockedBy
Related
Blocking
CC rrnewton@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information