Re: [Mingw-w64-public] OpenGL headers

2013-07-23 Thread Kai Tietz
Hi LRN thank you for the heads up. Sure, it would me vety appreachiated if you would take care for this update. You should have commit rights. So please sent mail with attached patch, get approval for it, and then apply. JonY, Jacek, Ozkan, or dw can give you assistance, if you require. Aloha

Re: [Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-23 Thread Erik van Pienbroek
Jacek Caban schreef op ma 22-07-2013 om 11:50 [+0200]: On 07/21/13 23:24, dw wrote: Attached is the patch I came up with to fix the build issue. You are checking for defined(__MINGW64_VERSION_MAJOR). Would it make sense to do (__MINGW64_VERSION_MAJOR = 3)? IMO, if the change works with

[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

[Mingw-w64-public] A problem about LTO in Ruben's builds

2013-07-23 Thread TOCK Chiu
Hi, There is a problem in Ruben's builds x86_64-w64-mingw32-gcc-4.8.0-win64_rubenvb.7z and x86_64-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz. The simple code snippet below with argument -static -O2 -flto can reproduce the problem: #includeiostream int main(){ std::cout Foo = 101 std::endl;

[Mingw-w64-public] OpenMP latency problem

2013-07-23 Thread Ed LEPICIER
Hello, I have a project which requires a lot of optimizations (SIMD instructions, OpenMP) that works for now under linux without any problem. On the same computer under windows with Mingw64 (gcc 4.8), the performances are worse using OpenMP than with a single thread. I made a very simple

Re: [Mingw-w64-public] InterlockedIncrement boost (yes, again) -What's the right answer here?

2013-07-23 Thread Jacek Caban
On 7/23/13 10:53 PM, Erik van Pienbroek wrote: Jacek Caban schreef op ma 22-07-2013 om 11:50 [+0200]: On 07/21/13 23:24, dw wrote: Attached is the patch I came up with to fix the build issue. You are checking for defined(__MINGW64_VERSION_MAJOR). Would it make sense to do

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

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.