#892: Generated Paths file causes warnings ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.8.0.6 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, 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. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/892> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel