[nhc-bugs] CVS copy doesn't compile
Ian Lynagh
igloo@earth.li
Mon, 17 Dec 2001 20:15:51 +0000
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
make[2]: ***
[/home/ian/cvs/nhc/targets/ix86-Linux/obj/prelude/LowB/PrimOpenSocket.o]
Error 1
make[2]: Leaving directory `/home/ian/cvs/nhc/src/prelude/LowB'
make[1]: *** [LowB.make] Error 2
make[1]: Leaving directory `/home/ian/cvs/nhc/src/prelude'
make: *** [targets/ix86-Linux/prelude] Error 2
-----
I uncommented the [] case and got
Fail: nthcon: n==0 con==35
Thanks
Ian