[nhc-bugs] Patches for building NHC98 with current GHC
Malcolm Wallace
Malcolm.Wallace@cs.york.ac.uk
Tue, 2 Apr 2002 12:30:09 +0100
Hi Sven,
> To build NHC98 1.12 with a current (= from CVS) GHC, two patches have to
> be applied:
>
> * PrelBase has gone and there are probably *very* few people out
> there (if any :-) with an ancient GHC <= 2.02, so the lines which
> make hmake fail can simply be nuked.
You didn't provide an example of why a current GHC fails on these lines,
but I suppose it is indeed unlikely that anyone has a GHC <= 2.02.
> * Besides other things, -fglasgow-exts switches on the handling of
> implicit paramters and the syntax %foo for linear implicit
> parameters. Alas, a space is missing then in LexLow.hs.
An easier fix is just to remove -fglasgow-exts from the Makefile!
Regards,
Malcolm