[ ghc-Bugs-681062 ] Confusing Error Message if package-name is
omitted
SourceForge.net
noreply at sourceforge.net
Thu Nov 25 08:57:29 EST 2004
Bugs item #681062, was opened at 2003-02-05 17:09
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=681062&group_id=8032
Category: Driver
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Wolfgang Thaller (wthaller)
Assigned to: Nobody/Anonymous (nobody)
Summary: Confusing Error Message if package-name is omitted
Initial Comment:
I compiled a library as a GHC package without adding the appropriate package-name flag to the ghc command line.
When trying to compile a module that used the package, ghc complained that it couldn't find package "Main".
This happens with the HEAD. With GHC 5.04 it (seemingly) was no problem to leave out the -package-name specifier.
Why is the -package-name flag needed at all?
----------------------------------------------------------------------
>Comment By: Simon Marlow (simonmar)
Date: 2004-11-25 13:57
Message:
Logged In: YES
user_id=48280
-package-name will be gone in 6.4 (yay!), so I can close
this bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=681062&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list