[Hackage] #892: Generated Paths file causes warnings

Hackage cvs-ghc at haskell.org
Sat Oct 1 09:17:27 CEST 2011

#892: Generated Paths file causes warnings
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
 With GHC 7.2.1 I get:

 [ 9 of 33] Compiling Paths_hlint      (d ist\build\autogen\Paths_hlint.hs,
 build\Paths_hlint.o )

 Implicit import declaration:
     Warning: In the use of `catch'
              (imported from Prelude, but defined in System.IO.Error):
              Deprecated: "Please use the new exceptions variant,

 My versions are:

 $ cabal --version
 cabal-install version 0.10.2
 using version of the Cabal library

 The paths file should be fixed, and should also probably put out a flag to
 ignore all warnings at the top - generated and unmodifiable code should
 not be giving out warnings.

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

More information about the cabal-devel mailing list