[Bug 43333] New: shell32: Warning and notes while building (GCC 7.1.1)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 13 04:40:21 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43333

            Bug ID: 43333
           Summary: shell32: Warning and notes while building (GCC 7.1.1)
           Product: Wine
           Version: 2.12
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: shell32
          Assignee: wine-bugs at winehq.org
          Reporter: andrey.goosev at gmail.com
      Distribution: ---

In file included from ../../include/windef.h:266:0,
                 from shfldr_fs.c:35:
shfldr_fs.c: In function ‘ISFHelper_fnCopyItems’:
../../include/winnt.h:5438:44: warning: ‘memset’ used with length equal to
number of elements without multiplication by element size [-Wmemset-elt-size]
 #define RtlZeroMemory(Destination, Length) memset((Destination),0,(Length))
                                            ^
../../include/winbase.h:2790:24: note: in expansion of macro ‘RtlZeroMemory’
 #define     ZeroMemory RtlZeroMemory
                        ^~~~~~~~~~~~~
shfldr_fs.c:1318:13: note: in expansion of macro ‘ZeroMemory’
             ZeroMemory(wszDstPath, MAX_PATH+1);

wine-2.12-103-g989a9dc917

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list