Fix warning about memmove redefinition

Vincent Béron vberon at
Thu Nov 3 19:37:48 CST 2005

When compiled under gcc 4 with both -O2 and -Wp,-D_FORTIFY_SOURCE=2
(part of default CFLAGS while building RPMS under FC4), gcc complains
about redefining memmove as memmove is a #define somewhere in
/usr/include/bits/string3.h (it's an inline version with protection).

With these settings, gcc also complains about a couple of functions
which return values are not checked although they ought to (like
system(), strtoul(), sscanf(), etc.). I'll provide a list to wine-devel

Maybe we can mark some of Wine's functions as "must check return code"
as well?

Fix warning about memmove re#definition.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memmove.diff
Type: text/x-patch
Size: 746 bytes
Desc: not available
Url :

More information about the wine-patches mailing list