[GHC] #9906: Warning generated by hscpp code have unhelpful file names
GHC
ghc-devs at haskell.org
Fri Dec 19 09:39:20 UTC 2014
#9906: Warning generated by hscpp code have unhelpful file names
-------------------------------------+-------------------------------------
Reporter: tibbe | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Driver | Version: 7.8.3
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
I've started seeing this when compiling cabal with 7.8.3:
{{{
[64 of 80] Compiling Distribution.Simple.GHC ( Distribution/Simple/GHC.hs,
dist/build/Distribution/Simple/GHC.o )
/var/folders/00/0__yr000h01000cxqpysvccm0019bv/T/ghc43003_0/ghc43003_30.hscpp:270:1:
Warning:
The import of ‘LibraryName’
from module ‘Distribution.Simple.LocalBuildInfo’ is redundant
/var/folders/00/0__yr000h01000cxqpysvccm0019bv/T/ghc43003_0/ghc43003_30.hscpp:308:1:
Warning:
The import of ‘Language’
from module ‘Language.Haskell.Extension’ is redundant
/var/folders/00/0__yr000h01000cxqpysvccm0019bv/T/ghc43003_0/ghc43003_30.hscpp:318:1:
Warning:
The import of ‘getTemporaryDirectory, getDirectoryContents’
from module ‘System.Directory’ is redundant
/var/folders/00/0__yr000h01000cxqpysvccm0019bv/T/ghc43003_0/ghc43003_30.hscpp:325:1:
Warning:
The import of ‘System.IO’ is redundant
except perhaps to import instances from ‘System.IO’
To import instances alone, use: import System.IO()
/var/folders/00/0__yr000h01000cxqpysvccm0019bv/T/ghc43003_0/ghc43003_30.hscpp:1092:5:
Warning:
Pattern match(es) are non-exhaustive
In an equation for ‘supportRPaths’: Patterns not matched: Ghcjs
[65 of 80] Compiling Distribution.Simple.GHCJS (
Distribution/Simple/GHCJS.hs, dist/build/Distribution/Simple/GHCJS.o )
}}}
The
`/var/folders/00/0__yr000h01000cxqpysvccm0019bv/T/ghc43003_0/ghc43003_30.hscpp`
file name isn't really helpful. I haven't seen this before so I'm guessing
this is a regression.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9906>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list