Opened 18 months ago

Last modified 13 months ago

#15483 new feature request

ghc -M requires -dep-suffix for no good reason

Reported by: ulysses4ever Owned by:
Priority: normal Milestone: 8.10.1
Component: Driver Version: 8.4.3
Keywords: newcomer Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:



ghc -M Foo.hs


You must specify at least one -dep-suffix

I went to the documentation and noticed (7.8.12) an example:

depend :
        ghc -dep-suffix '' -M $(HC_OPTS) $(SRCS)

So, empty suffix is fine. Why not default to empty string then?

I found a commit which introduced the requirement (af072fc): it says, it fixed #7381, and this doesn't seem to do anything with dep-suffix in particular. So, maybe there is no good reason to require that.

Change History (3)

comment:1 Changed 18 months ago by bgamari


These won't be fixed for in GHC 8.6.

comment:2 Changed 16 months ago by ulysses4ever

Keywords: newcomer added

comment:3 Changed 13 months ago by osa1


Bumping milestones of low-priority tickets.

Note: See TracTickets for help on using tickets.