Hmm, could you try if the following patch solves your problem?

Kai

Index: winnt.h
===================================================================
--- winnt.h    (Revision 5878)
+++ winnt.h    (Arbeitskopie)
@@ -1542,10 +1542,10 @@ extern "C" {
     VOID __stosq(PDWORD64 Destination,DWORD64 Value,SIZE_T Count);

 #ifndef __CRT__NO_INLINE
-__CRT_INLINE __buildstos(__stosb, BYTE)
-__CRT_INLINE __buildstos(__stosw, WORD)
-__CRT_INLINE __buildstos(__stosd, DWORD)
-__CRT_INLINE __buildstos(__stosq, DWORD64)
+__CRT_INLINE __buildstos(__stosb, VOID, PBYTE, BYTE, SIZE_T)
+__CRT_INLINE __buildstos(__stosw, VOID, PWORD, WORD, SIZE_T)
+__CRT_INLINE __buildstos(__stosd, VOID, PDWORD, DWORD, SIZE_T)
+__CRT_INLINE __buildstos(__stosq, VOID, PDWORD64, DWORD64, SIZE_T)
 #endif /* __CRT__NO_INLINE */

 #define MultiplyHigh __mulh
Index: psdk_inc/intrin-mac.h
===================================================================
--- psdk_inc/intrin-mac.h    (Revision 5878)
+++ psdk_inc/intrin-mac.h    (Arbeitskopie)
@@ -15,7 +15,8 @@
    FunctionName: Any valid function name
    DataType: BYTE, WORD, DWORD or DWORD64 */

-#define __buildstos(x, y) void x(y *Dest, y Data, size_t Count) \
+#define __buildstos(x, r0, t0, t1, t2) \
+r0 x(t0 Dest, t1 Data, t2 Count) \
 { \
    __asm__ __volatile__ ("rep stos%z[Data]" \
       :  /* no outputs */ \

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to