> Sure, it's a problem, a bug in GHC, whatever.  But I don't see a way
> around it!  

Make the spec say that you have to have header files containing
prototypes to get correct results.  It is not ideal but it is
something that can be readily implemented by all Haskell compilers so
we can get portable results.

Of course, compilers are free to provide extensions, compiler flags,
etc. which render the header files unnecessary but people using those
extensions are writing non-portable code.

--
Alastair

_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to