Package: wine / 4.0-2

warnings/arm-messages.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
desciption: use #pragma message to avoid warning turned into an error
author: Michael Gilbert <mgilbert@debian.org>

--- a/dlls/rpcrt4/cproxy.c
+++ b/dlls/rpcrt4/cproxy.c
@@ -198,7 +198,7 @@ static inline void init_thunk( struct th
 
 #else  /* __i386__ */
 
-#warning You must implement stubless proxies for your CPU
+#pragma message "warning You must implement stubless proxies for your CPU"
 
 struct thunk
 {
--- a/dlls/rpcrt4/cstub.c
+++ b/dlls/rpcrt4/cstub.c
@@ -188,7 +188,7 @@ typedef struct
 
 #else
 
-#warning You must implement delegated proxies/stubs for your CPU
+#pragma message "warning You must implement delegated proxies/stubs for your CPU"
 typedef struct
 {
     DWORD offset;
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -1176,7 +1176,7 @@ __ASM_GLOBAL_FUNC( call_server_func,
                    "mov SP, r5\n\t"
                    "pop {r4, r5, PC}" )
 #else
-#warning call_server_func not implemented for your architecture
+#pragma message "call_server_func not implemented for your architecture"
 LONG_PTR __cdecl call_server_func(SERVER_ROUTINE func, unsigned char * args, unsigned short stack_size)
 {
     FIXME("Not implemented for your architecture\n");