Skip to content

"ghc -c foo.bar" silently does nothing

ghc -c foo.bar silently does nothing. It thinks that foo.bar is an extra file to link, but -c means "do not link".

Instead, it should give an error (or at the very least, a warning).

Trac metadata
Trac field Value
Version 6.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Driver
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information