msvcp90: Fix __cdecl functions definitions that returns structures

Piotr Caban piotr at
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:

  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: <>

More information about the wine-patches mailing list