logo       

[ ghc-Bugs-681062 ] Confusing Error Message if package-name is omitted: msg#00035

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-681062 ] Confusing Error Message if package-name is omitted

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise