[Bug 2968] Fix wine/dlls/oleaut32/tmarshal.c:354:3: #error You need to implement stubless proxies for your architecture.

Wine Bugs wine-bugs at winehq.org
Thu May 19 07:45:51 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2968





------- Additional Comments From pidherbemont at opendarwin.org  2005-19-05 07:45 -------
Here is a temporary fix for that.
Index: dlls/oleaut32/tmarshal.c
===============================================================
====
RCS file: /home/wine/wine/dlls/oleaut32/tmarshal.c,v
retrieving revision 1.52
diff -u -r1.52 tmarshal.c
--- dlls/oleaut32/tmarshal.c    11 May 2005 15:56:59 -0000      1.52
+++ dlls/oleaut32/tmarshal.c    19 May 2005 12:45:17 -0000
@@ -351,7 +351,9 @@
 #include "poppack.h"
 
 #else /* __i386__ */
-# error You need to implement stubless proxies for your architecture
+# warning You need to implement stubless proxies for your architecture
+typedef struct _TMAsmProxy {
+}TMAsmProxy;
 #endif
 
 typedef struct _TMProxyImpl {
@@ -1865,6 +1867,7 @@
  *
  * arg3 arg2 arg1 <method> <returnptr>
  */
+#ifdef __i386__
                xasm->popleax   = 0x58;
                xasm->pushlval  = 0x6a;
                xasm->nr        = i;
@@ -1875,6 +1878,7 @@
                xasm->lret      = 0xc2;
                xasm->bytestopop= (nrofargs+2)*4; /* pop args, This, iMethod */
                proxy->lpvtbl[i] = xasm;
+#endif
                break;
            }
        }


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list