Re: MLton broken FFI on AMD64???
Anders Petersson <[email protected]>
| Newsgroups | gmane.comp.lang.ml.mlton.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 4, 2011 at 9:32 AM, Wesley W. Terpstra <[email protected]>wrote: > However, the segfault persists. If you replace "printf" with "test": > void test(const char* s, int x) { > printf(s, x); > } > ... it works. > Yes, varargs was my first instinct. I don't know the C ABI well enough to know what (if anything) actually changes nor if mlton is supposed to handle it, but I am passing loads of data through the MLton FFI on amd64 without any issues. /Anders _______________________________________________ MLton mailing list [email protected] http://mlton.org/mailman/listinfo/mlton