Generating Function Prototypes
reid at reid-consulting-uk.ltd.uk
Mon Jul 8 06:50:45 EDT 2002
> 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.
More information about the FFI