
(copying to libraries, because many of these warnings come from extralibs) With the ghc release candidate coming up soon, it might be a good time to look at warnings? In a ghc head build on windows, there are many of them, even though ghc and the core libs have undergone a lot of cleaning. Even if I ignore ghc warnings like 'defined, but not used' 'binding shadowed', 'non-exhaustive match' (!), 'defaulting to', 'orphan instance', 'no type signature', etc., there are plenty of warnings left, some of which slightly worrying, suggesting include/documentation/cabal/deprecation trouble. Starting with only those matching '^Warning:', and listing only examples for each kind of warning, there are things like Warning: 'include-dirs: ../libraries/base/cbits' is a relative path outside of Warning: 'include-dirs: ../libraries/base/include' is a relative path outside Warning: 'include-dirs: stage2plus' directory does not exist. Warning: This package indirectly depends on multiple versions of the same Warning: HUnit.cabal: A package using section syntax should require Warning: defaultUserHooks in Setup script is deprecated. Warning: The documentation for the following packages are not installed. No (this is mostly rts, but also a couple of base-3) Warning: in export list of "GHC.Base": module not found: "GHC.Bool" Warning: in export list of "Data.Generics.Basics": module not found: "Data.Typeable" Warning: base:Control.Monad: could not find link destinations for: Data.Traversable.Id GHC.Arr.Array Data.Traversable.StateL Data.Traversable.StateR Text.ParserCombinators.ReadP.P (these are from a local build of ghc+extralibs on windows, yesterday, but there are also buildbot logs from a successful build: http://darcs.haskell.org/buildbot/head/builders/x86%20Windows%20head/builds/... ) There are other warnings, too, eg: libtool: link: warning: undefined symbols not allowed in i386-unknown-mingw32 shared libraries ar cru .libs/libffi.a src/debug.o src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi.o src/x86/win32.o libtool: install: warning: remember to run `libtool --finish /usr/local/lib' (on windows???) warning: implicit declaration of function `reallocf' warning: assignment makes pointer from integer without a cast Should I be worried?-) Claus