On Fri, 23 Feb 2001, Simon Marlow wrote:
> I agree. Would it be fixed by just #including Stg.h after any
> -#includes, or would that create more problems?
If HsFFI.h indirectly includes system headers, then I'm afraid it's
not enough for hsc2hs, which automatically includes HsFFI.h before
user-specified #includes (because it cannot reliably determine where
#includes end and code which relies on HsFFI.h begins).
Can HsFFI.h be made self-contained?
Requiring to include HsFFI.h explicitly (after system includes) would
work, but I hope it can be avoided.
Generally I can't fit the whole picture of files included at all places in
my head at once.
--
Marcin 'Qrczak' Kowalczyk
_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi