Testcase ffi012 segfaults at runtime on non-x86 platforms.
via-C compilation warns about an ignored stdcall attribute, and createAdjustor simply returns NULL.
How should this be fixed?
1.) Make createAdjustor barf instead of segfault.
2.) Make createAdjustor silently use ccall.
3.) Make DsForeign handle this by
a) aborting with an error when stdcall is used on non-Win32
b) treating stdcall as a synonym for ccall on non-Win32
c) like b, but issue a warning.
Cheers,
Wolfgang
_______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
