Bug in libcompat
Simon Marlow
simonmar at microsoft.com
Mon Jan 10 11:45:44 EST 2005
On 08 January 2005 18:15, Krasimir Angelov wrote:
> I found a bug in libcompat. GHC-6.3 automatically
> defines mingw32_TARGET_OS macro, but previous versions
> does't. When GHC is compiled with GHC < 6.3 then
> System.FilePath and probably some other modules aren't
> compiled properly. What should be done? Maybe it is
> enough to add #include <ghcconfig.h> in the begining
> of each module from libcompat but I don't know whether
> this will not affect something other.
> Main.hs from ghc-pkg imports
> Distribution.Compat.ReadP which is hiden module when
> GHC is compiled with GHC-6.3 but it is available from
> libcompat when GHC < 6.3 is used.
I think I've fixed these.
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list