Ticket #892 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
