[Hackage] #870: hsc2hs should include cabal_macros.h

Hackage cvs-ghc at haskell.org
Mon Aug 8 12:05:16 CEST 2011


#870: hsc2hs should include cabal_macros.h
----------------------------------+-----------------------------------------
  Reporter:  basvandijk           |        Owner:          
      Type:  defect               |       Status:  new     
  Priority:  normal               |    Milestone:          
 Component:  Cabal library        |      Version:  1.10.1.0
  Severity:  normal               |     Keywords:          
Difficulty:  very easy (<1 hour)  |   Ghcversion:          
  Platform:                       |  
----------------------------------+-----------------------------------------
 I need to use the `MIN_VERSION_base(x,y,z)` macro in one of my `.hsc`
 files. However, when building the package with cabal, I get an error that
 the macro is unknown.

 It would be great if `cabal_macros.h` was automatically included.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/870>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list