Bug in GHC for MacOSX 10.2?

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Sun, 15 Sep 2002 15:45:44 +0200


Ashley Yakeley wrote:

> I get this when trying to compile with the new GHC 5.04 for 10.2:
> [...] The C compiler seems to object to the difference in 'constness'...


"New" is always relative...  :-)

That buglet has already been fixed in 5.04.1, for a quick fix you can simply
nuke the 'const' from the declarations of GHCziTopHandler_runIO_closure
and GHCziTopHandler_runNonIO_closure in RtsAPI.h

Cheers,
    S.