ghc-5.04 / linux / RtsAPI.h
Simon Marlow
simonmar at microsoft.com
Mon Jul 29 04:52:56 EDT 2002
> our C-compiler complains with a syntax error about "DLL_IMPORT"
> delarations in file lib/ghc-5.04/include/RtsAPI.h, lines 125 and 126.
>
> Deleting "DLL_IMPORT" enables creation of a running interface between
> Haskell and C, but I'm not sure whether it is OK to do so.
>
> We are using gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85).
For the time being, you can include "Rts.h" before "RtsAPI.h" as a
workaround. This problem will be fixed in 5.04.1.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list