[GHC] #10970: Built in MIN_VERSION macro support

GHC ghc-devs at haskell.org
Wed Mar 30 07:49:49 UTC 2016


#10970: Built in MIN_VERSION macro support
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1349,
       Wiki Page:                    |  Phab:D1869
-------------------------------------+-------------------------------------

Comment (by hvr):

 Replying to [comment:14 bgamari]:
 > This (Phab:D1869) will be merged when #11763 is implemented.

 #11763 has been implemetned already... but we should make sure that the
 Cabal 1.24 bundled with GHC 8 is updated to use `-fno-version-macros` so
 that Cabal controls 100% of which macros are made available to programs;
 it's a bad idea IMHO to have both, `cabal_macros.h` and `-fversion-macros`
 in effect even if it doesn't cause apparent problems *yet*.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10970#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list