[cvs-nhc98] Re: [nhc-bugs] CVS copy doesn't compile

Ian Lynagh igloo@earth.li
Tue, 18 Dec 2001 22:23:44 +0000


Sorry, replying to my previous message will bounce and mutt would only
let me bounce the message here, not forward it, so I couldn't correct
the to address. Replying to this one should work fine.

On Tue, Dec 18, 2001 at 10:15:01PM +0000, Ian Lynagh wrote:
> On Tue, Dec 18, 2001 at 06:52:42PM +0000, Malcolm Wallace wrote:
> > > I checked out the CVS tree an hour or so ago (at a guess) and make all
> > > (after ./configure with a --prefix) failed with:
> > > 
> > > /home/ian/cvs/nhc/script/nhc98 -cpp -c +CTS -part -redefine -CTS -P..
> > >     -P../PreludeIO -P../IO -prelude -o
> > >     /home/ian/cvs/nhc/targets/ix86-Linux/obj/prelude/LowB/PrimOpenSocket.o
> > >     PrimOpenSocket.hs
> > > 
> > > Fail: GcodeFix.hs:165: Non-exhaustive patterns in function nthcon
> > 
> > Fixed in CVS now.
> 
> Are you sure? I'm still getting it with a cleanly checked out version.
> 
> And I needed to do
> 
> Index: src/prelude/IO/IO.hs
> ===================================================================
> RCS file: /cvs/nhc/src/prelude/IO/IO.hs,v
> retrieving revision 1.9
> diff -u -r1.9 IO.hs
> --- src/prelude/IO/IO.hs        2001/12/18 18:47:10     1.9
> +++ src/prelude/IO/IO.hs        2001/12/18 22:13:48
> @@ -78,7 +78,7 @@
>  import IoeGetHandle
>  import IoeGetFileName
>  
> --- import HGetFileName
> +import HGetFileName
>  
>  #if !defined(TRACING)
>  import OpenSocket
> 
> 
> in order to get that far this time.
> 
> > Ian, if you are going to be using the CVS copy from now on, I suggest
> 
> That is my current plan.
> 
> > moving these bug reports to the cvs-nhc@haskell.org list.
> 
> OK, will do.