Bug in libcompat
Krasimir Angelov
ka2_mail at yahoo.com
Sat Jan 8 13:14:48 EST 2005
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.
Cheers,
Krasimir
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
More information about the Glasgow-haskell-users
mailing list