Ticket #892 (closed defect: fixed)

Opened 20 months ago

Last modified 17 months ago

Generated Paths file causes warnings

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.8.0.6
Severity: normal Keywords:
Cc: ndmitchell@… Difficulty: unknown
GHC Version: Platform:

Description

With GHC 7.2.1 I get:

[ 9 of 33] Compiling Paths_hlint      (d ist\build\autogen\Paths_hlint.hs, dist\
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, Control.Exception.catch"

My versions are:

$ cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 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.

Change History

Changed 20 months ago by duncan

  • status changed from new to closed
  • resolution set to fixed

This is fixed in Cabal-1.12 which comes with ghc-7.2. You're using a cabal-install built against the older Cabal-1.10.

Changed 17 months ago by elga

Changed 17 months ago by elga

Changed 17 months ago by edouard

Termine le parcours du combattant ! les procedures, aujourd'hui tres simplifiees, sont accessibles en quelques clics seulement.  simyo

Note: See TracTickets for help on using tickets.