RE: Bug in libcompat

10 Jan
2005
10 Jan
'05
4:45 p.m.
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
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
7494
Age (days ago)
7494
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow