Re: [Mingw-w64-public] [PATCH] (again) Use LPCVOID instead of 'const LPVOID' for VerQueryValue.

2017-03-16 Thread Liu Hao
On 2017/3/17 11:09, David Grayson wrote: > Here is that patch again. Thanks! These new prototypes match https://msdn.microsoft.com/en-us/library/windows/desktop/ms647464.aspx , so I think it is ok to apply, no? -- Best regards, LH_Mouse ---

[Mingw-w64-public] [PATCH] (again) Use LPCVOID instead of 'const LPVOID' for VerQueryValue.

2017-03-16 Thread David Grayson
Hello. Here is that patch again. Thanks! --David Grayson >From 63f1126b246df52e4252d148897f3e262931368b Mon Sep 17 00:00:00 2001 From: David Grayson Date: Thu, 16 Mar 2017 19:35:23 -0700 Subject: [PATCH] Use LPCVOID instead of 'const LPVOID' for VerQueryValue. Apparently "const LPVOID" is di

Re: [Mingw-w64-public] Relocation errors when linking with static libstdc++ starting with GCC 6 (64-bit only)

2017-03-16 Thread Kai Tietz
Hello, If you want to solve this, you will need to use the large Code model. Cheers, Kai Am 15.02.2017 06:43 schrieb "Roger Pack" : > On 2/8/17, Ricardo Constantino wrote: > > On 8 February 2017 at 02:55, Liu Hao wrote: > > > >> On 2017/2/8 1:45, Ricardo Constantino wrote: > >> > Should be fi

Re: [Mingw-w64-public] [PATCH] Use LPCVOID instead of 'const LPVOID' for VerQueryValue

2017-03-16 Thread Liu Hao
On 2017/3/17 0:51, David Grayson wrote: > I was trying to compile Qt and I ran into an error because Qt is > passing a const pointer to the first argument of VerQueryValue, which > is not properly marked as const in the mingw-w64 header files. This > patch fixes that. Please send the patch both in

[Mingw-w64-public] [PATCH] Use LPCVOID instead of 'const LPVOID' for VerQueryValue

2017-03-16 Thread David Grayson
I was trying to compile Qt and I ran into an error because Qt is passing a const pointer to the first argument of VerQueryValue, which is not properly marked as const in the mingw-w64 header files. This patch fixes that. Apparently "const LPVOID" is different from "LPCVOID". You can see the diff