"Failed to load interface for ..."

Seth Kurtzberg seth at cql.com
Fri Jan 6 15:46:50 EST 2006


How about changing it so --make is the default?  I always use it.  To me, that makes it logical as the default.  Of course there are reasons not to do this, such as not breaking peoples build scripts, and no doubt others I'm overlooking at the moment.  A flag to select the old behavior would take care of the build script problem, especially if it were also possible to use an environment variable (instead of, or perhaps available in addition to, a command line flag) to select the old behavior.  (It isn't old, obviously, but I'm sure everyone knows what I mean.)

Seth Kurtzberg


On Fri, 6 Jan 2006 13:54:26 +0300
Bulat Ziganshin <bulatz at HotPOP.com> wrote:

> Hello ,
> 
> how about adding suggestion to use "--make" to the following error
> message? it would be very helpful for novices. i have run into this
> problem several times before memoized that suggestion to use "-v"
> actually means that i forgot to add "--make" :)
> 
> 
> C:\!\Haskell\cpphs> ghc -O2 Main.hs
> 
> Main.hs:17:0:
>     Failed to load interface for `RunCpphs':
>         Could not find module `RunCpphs': use -v to see a list of the files searched for
>   
> 
> -- 
> Best regards,
>  Bulat                          mailto:bulatz at HotPOP.com
> 
> 
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
> 


More information about the Glasgow-haskell-users mailing list