[GHC] #10272: hsc2hs : directive let cannot be handled in cross-compilation mode
GHC
ghc-devs at haskell.org
Thu Apr 9 05:23:08 UTC 2015
#10272: hsc2hs : directive let cannot be handled in cross-compilation mode
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: erikd
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: hsc2hs | Version: 7.11
Resolution: | Keywords: cross-
Operating System: Unknown/Multiple | compiling
Type of failure: Building GHC | Architecture:
failed | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: #10070 | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by rwbarton):
Well, it can't, but this should work fine instead.
{{{
instance Storable Coord where
sizeOf _ = (#size COORD)
alignment _ = (#const offsetof(struct {char x__; COORD (y__); }, y__))
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10272#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list