> I tried the binary release of GHC 4.00 on my library of sorting
> routines. The compiler fails on
> ghc -c -O -W -fglasgow-exts -recomp -H32M QuickSortInPlace.lhs
> The error message is not that enlightening ;-).
> unimplemented check
> On
> ghc -c -O -W -fglasgow-exts -recomp -H32M Force.lhs
> it produces
> StixMacro.lhs:42: Non-exhaustive patterns in function macroCode
Please *don't* use the native code generator in 4.00. On sparc-sun-solaris2
or any other architecture where the NCG is on by default, add the flag
-fvia-c.
Cheers,
Simon
--
Simon Marlow
Microsoft Research Ltd., Cambridge, U.K.