On Mon, 2008-08-11 at 12:27 +0100, Simon Peyton-Jones wrote:
| I think we should not build the non-core libs with -Werror. It makes | perfect sense for the core libs where the ghc team effectively maintains | them, but not for non-core ones.
But time *is* a core lib. Similarly containers, pretty, filepath, directory... The full list is below.
That list indicates that "old-time" is a core lib but "time" is not.
GHC is simply a client for these libraries. Should they have -Werror or not? I'm not sure.
I'm not sure either for those core libs that have external maintainers like filepath etc, but for non-core like "time" it'd be much easier for you without -Werror.
utils/hsc2hs hsc2hs libraries/array packages/array libraries/base packages/base libraries/bytestring packages/bytestring libraries/Cabal packages/Cabal libraries/containers packages/containers libraries/directory packages/directory libraries/editline packages/editline libraries/filepath packages/filepath libraries/ghc-prim packages/ghc-prim libraries/haskell98 packages/haskell98 libraries/hpc packages/hpc libraries/integer-gmp packages/integer-gmp libraries/old-locale packages/old-locale libraries/old-time packages/old-time
but no "time"
libraries/packedstring packages/packedstring libraries/pretty packages/pretty libraries/process packages/process libraries/random packages/random libraries/template-haskell packages/template-haskell libraries/unix packages/unix libraries/Win32 packages/Win32
Duncan