Fix warning about memmove redefinition
vberon at mecano.gme.usherb.ca
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"
Fix warning about memmove re#definition.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 746 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051103/513a4672/memmove.diff
More information about the wine-patches