#10272: hsc2hs : directive let cannot be handled in cross-compilation mode -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: hsc2hs | Version: 7.11 Resolution: | Keywords: cross- | compiling Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: #10070 | Differential Rev(s): Phab:D1436 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"2cc5b607df27e702541985f7c4c987806c4ec2a1/ghc" 2cc5b607/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="2cc5b607df27e702541985f7c4c987806c4ec2a1" Documentation, tests for hsc2hs's new #alignment macro Adds two tests (one for Trac #4340 and one for Trac #10272), as well as advice on how to fix your code if `hsc2hs` emits warnings with GHC 8.0 due to a redefinition of `#alignment`. (I also put the advice in the [GHC 8.0 Migration Guide](https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0).) Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1663 GHC Trac Issues: #4340, #10272 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10272#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler