This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Dealed with gcc bug 36834 - structure return ABI for windows targets differs from native MSVC ?
- From: Just Fill Bugs <mozbugbox at yahoo dot com dot au>
- To: libffi-discuss at sourceware dot org
- Date: Thu, 07 Jul 2011 11:16:33 +0800
- Subject: Dealed with gcc bug 36834 - structure return ABI for windows targets differs from native MSVC ?
I think I was hit by this bug when using python ctypes to wrap a
function that return a struct by value.
Has ffi been fixed to handle the situation automagically? That is,
without special treatment with mingw, a caller from msvc can call a
callee compiled with mingw?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36834
A ctypes discussion on 2009:
http://thread.gmane.org/gmane.comp.python.ctypes.user/4439