[GHC] #7983: Bug in hsc2hs --cross-safe

GHC ghc-devs at haskell.org
Sat Jun 15 02:49:57 CEST 2013


#7983: Bug in hsc2hs --cross-safe
-----------------------------+----------------------------------------------
Reporter:  singpolyma        |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  hsc2hs          
 Version:  7.6.3             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 The following test succeeds with hsc2hs --cross-safe but fails with hsc2hs
 --cross-compile:

 {{{
 #include <unicode/uchar.h>

 (#const U_NO_NUMERIC_VALUE)
 }}}

 For reference, the define being used is:

 {{{
 #define U_NO_NUMERIC_VALUE ((double)-123456789.)
 }}}

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



More information about the ghc-tickets mailing list