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 difference for yourself by trying to compile this small bit of C
code:
#include <windows.h>
void x(const LPVOID);
void y(LPCVOID);
void test() {
const char * data;
x(data);
y(data);
}
Thanks!
--David Grayson
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public