Marc van Dongen wrote:
>
> Hi again,
>
> When trying to build ghc from cvs (cvs update, make clean, etc)
> I got:
> ==fptools== make all - --no-print-directory -r;
> in /newdisk/dongen/cvs/fptools/ghc/compiler
> ------------------------------------------------------------------------
> /usr/local/bin/ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen
>-Iparser
>-iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:profiling:parser:usageSP:cprAnalysis:nativeGen
> -recomp -c utils/FastString.lhs -o utils/FastString.o -osuf o
> FastString.lhs:629: parse error on input `#'
>
> Compilation had errors
>
> make[2]: *** [utils/FastString.o] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
Odd, because I get (from the anon-cvs repository)
/usr/local/pub-bkb/ghc/ghc-latest/bin/ghc -cpp -fglasgow-exts -Rghc-timing -I.
-IcodeGen -InativeGen -Iparser
-iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:profiling:parser:usageSP:cprAnalysis:nativeGen
-recomp -H40m -Onot -c utils/FastString.lhs -o utils/FastString.o -osuf o
FastString.lhs:632:
Couldn't match
`ByteArray Int' against `MutableByteArray RealWorld Int'
Expected type: ByteArray Int
Inferred type: MutableByteArray RealWorld Int
In the second argument of `hPutBufBA', namely `mba'
In a do statement: hPutBufBA handle mba (I# l#)
Compilation had errors
"cvs status" tells me that my copy of FastString.lhs is up-to-date.