errno
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Tue Nov 28 14:26:09 EST 2000
Tue, 28 Nov 2000 16:48:11 +0000, malcolm-ffi at cs.york.ac.uk <malcolm-ffi at cs.york.ac.uk> pisze:
> Ok, I tried hsc2hs on one of the QForeign examples and it gave me
> the following errors. Any ideas?
--- /home/users/qrczak/cvs/fptools/ghc/utils/hsc2hs/Main.hs Tue Nov 7 16:28:36 2000
+++ programs/hsc2hs-bin.hs Thu Nov 9 22:38:29 2000
@@ -178,6 +178,9 @@
when needsH $ writeFile outHName $
"#ifndef "++includeGuard++"\n\
\#define "++includeGuard++"\n\
+ \#if __GLASGOW_HASKELL__ < 409\n\
+ \#include <Rts.h>\n\
+ \#endif\n\
\#include <HsFFI.h>\n"++
concatMap outTokenH specials++
"#endif\n"
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTÊPCZA
QRCZAK
More information about the FFI
mailing list