[GHC] #4340: Add alignment to hsc2hs template

GHC ghc-devs at haskell.org
Sat Dec 19 10:13:07 UTC 2015


#4340: Add alignment to hsc2hs template
-------------------------------------+-------------------------------------
        Reporter:  mitar             |                Owner:  RyanGlScott
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:  8.0.1
       Component:  Compiler (FFI)    |              Version:  6.12.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10272            |  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/4340#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list