[Bug 2284] New: dde/server.c:580: pointers are not permitted as case values
Wine Bugs
wine-bugs at winehq.org
Mon Jun 14 15:11:31 CDT 2004
http://bugs.winehq.org/show_bug.cgi?id=2284
Summary: dde/server.c:580: pointers are not permitted as case
values
Product: Wine
Version: CVS
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs at winehq.org
ReportedBy: aguenther at collab.net
PROBLEM DESCRIPTION
Using 'gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)' I ran into a compile
error with the CVS checkout of wine HEAD after executing '/tools/wineinstall'.
...
I am using RedHat 9 with a native Kernel (no customization) on an IBM ThinkPad 40.
MY WORAROUND
Looking up 'case' compile problems with newer gcc compilers I found the
following thread discussion:
http://www.winehq.org/hypermail/wine-devel/2002/11/1283.html
My temporary fix was to apply the following patch, which made me happy, but I am
not sure whether that'll cause other problems or not:
>>> Patch Start
Index: ./dlls/user/dde/server.c
===================================================================
RCS file: /home/wine/wine/dlls/user/dde/server.c,v
retrieving revision 1.16
diff -u -r1.16 server.c
--- ./dlls/user/dde/server.c 26 Apr 2004 23:29:44 -0000 1.16
+++ ./dlls/user/dde/server.c 14 Jun 2004 19:44:18 -0000
@@ -577,7 +577,7 @@
WDML_PostAck(pConv, WDML_SERVER_SIDE, 0, FALSE, FALSE, pXAct->atom,
pXAct->lParam, WM_DDE_REQUEST);
break;
- case CBR_BLOCK:
+ case (WORD)CBR_BLOCK:
ret = WDML_QS_BLOCK;
break;
default:
>>> Patch End
Feel free to route this issue as appropriate or close if invalid.
Thanks for a great product,
-Andreas
--
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