msvcp90: Fix __cdecl functions definitions that returns structures

Piotr Caban piotr at codeweavers.com
Fri Jun 29 10:52:45 CDT 2012


In code produced by gcc callee removes hidden return argument. In code 
produced by MS Visual Studio caller is responsible for removing the 
hidden argument.

Here's a link to gcc bug that describes it more verbosely:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36834

---
  dlls/msvcp90/locale.c |   34 ++++++++++++++--------------------
  dlls/msvcp90/string.c |   20 ++++++++------------
  2 files changed, 22 insertions(+), 32 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcp90-Fix-__cdecl-functions-definitions-that-returns.txt
Type: text/x-patch
Size: 5067 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120629/5bc51f13/attachment.bin>


More information about the wine-patches mailing list