Hello Duncan, Tuesday, June 30, 2009, 4:18:32 AM, you wrote:
> Actually passing structs and unions as arguments or function results is > specified by the C ABI. See for example the IA32 ABI: > http://www.caldera.com/developers/devspecs/abi386-4.pdf > linked from the LSB: > http://refspecs.linux-foundation.org/LSB_3.1.0/LSB-Core-IA32/LSB-Core-IA32/normativerefs.html sorry, it's "System V ABI, IA32 Supplement" so situation is still the same - afaik, there is no common ABI for all C compilers on x86 platform that describes structures passing and alignment -- Best regards, Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe