1. several files in the time package need -fno-warn-orphans
(why is this package stricter about these warnings than others?):
Data\Time\Calendar\Gregorian.hs:73:9:
Warning: orphan instance: instance Show Day
Data\Time\LocalTime\LocalTime.hs:68:9:
Warning: orphan instance: instance Show UTCTime
Data\Time\Format\Parse.hs:307:9:
Warning: orphan instance: instance Read Day
Data\Time\Format\Parse.hs:310:9:
Warning: orphan instance: instance Read TimeOfDay
Data\Time\Format\Parse.hs:313:9:
Warning: orphan instance: instance Read LocalTime
Data\Time\Format\Parse.hs:316:9:
Warning: orphan instance: instance Read TimeZone
Data\Time\Format\Parse.hs:319:9:
Warning: orphan instance: instance Read ZonedTime
Data\Time\Format\Parse.hs:323:9:
Warning: orphan instance: instance Read UTCTime
I never understood the discrimination against orphan
instances anyway, certainly not failing if they exist.
2. next up, we get:
c:/fptools/ghc/ghc/stage1-inplace/ghc.exe -package-name cgi-3001.1.6.0
-hide-all-packages
-no-user-package-conf -i -idist/build -i. -idist/build/autogen -Idist/build -odir
dist/build -hidir dist/build
-stubdir dist/build -package base-3.0 -package bytestring-0.9 -package
containers-0.1 -package
mtl-1.1.0.1 -package network-2.2.0.0 -package old-locale-1.0 -package
old-time-1.0 -package
parsec-2.1.0.1 -package xhtml-3000.2.0.0 -O -Wall -XMultiParamTypeClasses
-idist/build
-H32m -O2 -Wall -fno-warn-deprecated-flags -c Network/CGI/Compat.hs
-o dist/build/Network/CGI/Compat.o -ohi dist/build/Network/CGI/Compat.hi
Network\CGI\Compat.hs:104:19:
Class `Exception' used as a type
In the type `Exception'
In the type `Exception -> IO a'
In the type `String -> Exception -> IO a'
Claus
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc