#7379: rangeTest test fails on Windows
---------------------------------+------------------------------------------
    Reporter:  igloo             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  libraries/random  |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
 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?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7379>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to