Is it possible that runghc isn't built with -Werror during validate. I am asking, because I validated the current tree today, but then when I compile it "normally", but with -Werror in the warnings variable of mk/build.mk, I get

inplace/bin/ghc-stage1 -H64m -O -fasm -W -fno-warn-unused-matches - fwarn-unused-imports -Werror -i -iutils/runghc/. -iutils/runghc/ dist/build -iutils/runghc/dist/build/autogen -Iutils/runghc/dist/build -Iutils/runghc/dist/build/autogen -cpp - DVERSION="\"6.11.20090512\"" -no-user-package-conf -optc-O0 -odir utils/runghc/dist/build -hidir utils/runghc/dist/build -stubdir utils/ runghc/dist/build -hisuf hi -osuf o -hcsuf hc -c utils/runghc/dist/ build/Main.hs -o utils/runghc/dist/build/Main.o

utils/runghc/dist/build/Main.hs:29:0:
Warning: Module `Data.Version' is imported, but nothing from it is used,
               except perhaps instances visible in `Data.Version'
             To suppress this warning, use: import Data.Version()

<no location info>:
Failing due to -Werror.

Manuel

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to