PATCH: new compiler
Marcus Meissner
marcus at jet.franken.de
Sun Sep 26 07:45:18 CDT 2004
Hi,
gcc4 complains about const attributes at function return types.
Ciao, Marcus
Changelog:
Function return types cannot be const.
Index: dlls/oleaut32/tmarshal.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tmarshal.c,v
retrieving revision 1.33
diff -u -r1.33 tmarshal.c
--- dlls/oleaut32/tmarshal.c 9 Sep 2004 21:03:58 -0000 1.33
+++ dlls/oleaut32/tmarshal.c 26 Sep 2004 12:40:05 -0000
@@ -405,7 +405,7 @@
};
/* how much space do we use on stack in DWORD steps. */
-int const
+int
_argsize(DWORD vt) {
switch (vt) {
case VT_DATE:
Index: dlls/oleaut32/typelib.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/typelib.c,v
retrieving revision 1.122
diff -u -r1.122 typelib.c
--- dlls/oleaut32/typelib.c 9 Sep 2004 21:03:58 -0000 1.122
+++ dlls/oleaut32/typelib.c 26 Sep 2004 12:40:09 -0000
@@ -4472,7 +4472,7 @@
return res;
}
-extern int const _argsize(DWORD vt);
+extern int _argsize(DWORD vt);
/****************************************************************************
* Helper functions for Dispcall / Invoke, which copies one variant
--
More information about the wine-patches
mailing list