[Mingw-w64-public] [Patch] Fix warning

2016-09-25 Thread David Wohlferd
Fixes this warning which occurs when wchar_t is used: .../mingw-w64-crt/misc/dirent.c:121:3: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset (nd->dd_dir.d_name, 0, 260 /*FILENAME_MAX*/); Push? dw diff --git

Re: [Mingw-w64-public] [Patch] Fix warning

2016-09-27 Thread Kai Tietz
sure. Thanks, Kai 2016-09-25 21:37 GMT+02:00 David Wohlferd : > Fixes this warning which occurs when wchar_t is used: > > .../mingw-w64-crt/misc/dirent.c:121:3: warning: 'memset' used with length > equal to number of elements without multiplication by element size > [-Wmemset-elt-size] >memse

[Mingw-w64-public] [Patch] Fix warning error error for membarrier.c

2013-07-23 Thread dw
There is a compile warning coming from intrincs/membarrier.c: /../../mingw-w64/mingw-w64-crt/intrincs/membarrier.c:4:6: warning: no previous prototype for 'MemoryBarrier' [-Wmissing-prototypes]/ There are two ways to fix it. 1) The easy, non-controversial way is to just add the prototype to t

Re: [Mingw-w64-public] [Patch] Fix warning error error for membarrier.c

2013-07-23 Thread Jacek Caban
On 7/23/13 11:20 PM, dw wrote: There is a compile warning coming from intrincs/membarrier.c: /../../mingw-w64/mingw-w64-crt/intrincs/membarrier.c:4:6: warning: no previous prototype for 'MemoryBarrier' [-Wmissing-prototypes]/ There are two ways to fix it. 1) The easy, non-controversial way i

Re: [Mingw-w64-public] [Patch] Fix warning error error for membarrier.c

2013-07-23 Thread dw
The patch looks good to me. This patch requires re-building mingw-w64-crt/Makefile.in. Can someone with the right autoconf do this checkin please? The description should be something like: Remove non-intrinsic function from intrinsic library. Function is available in winnt.h. Thanks,

Re: [Mingw-w64-public] [Patch] Fix warning error error for membarrier.c

2013-07-24 Thread dw
Done as 5980. dw On 7/23/2013 4:33 PM, dw wrote: The patch looks good to me. This patch requires re-building mingw-w64-crt/Makefile.in. Can someone with the right autoconf do this checkin please? The description should be something like: Remove non-intrinsic function from intrinsic li