| -fgenerics -Wall -fno-warn-deprecated-flags -c 
Data/Time/Calendar/Gregorian.hs -o
| dist/build/Data/Time/Calendar/Gregorian.o  -ohi 
dist/build/Data/Time/Calendar/Gregorian.hi
|
| Data/Time/Calendar/Gregorian.hs:73:9:
|     Warning: orphan instance: instance Show Day
|
| <no location info>:
| Failing due to -Werror.
|
| gmake[2]: *** [dist/build/Data/Time/Calendar/Gregorian.o] Error 1
| gmake[2]: Leaving directory 
`/playpen/simonmar/nightly/HEAD/i386-unknown-linux/libraries/time'
| gmake[1]: *** [make.library.time] Error 2
| gmake[1]: Leaving directory 
`/playpen/simonmar/nightly/HEAD/i386-unknown-linux/libraries'
| gmake: *** [stage1] Error 2

Now that orphan warnings are "proper warnings" as Duncan requested, and hence 
do the right thing with -Werror, someone should either remove this orphan 
(best), by moving the instance to the module that defines Day, or add 
-fno-warn-orphans to this module.

Who is responsible for the time/ library?

There may be other libraries similarly affected.

Simon

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to