Re: [Mingw-w64-public] errno.h or winerror.h ?

2016-09-17 Thread David Wohlferd
I believe the values from errno.h are intended to provide POSIX compatibility for the (now defunct) Windows posix subsystem. I'd wouldn't expect any API from XP or later to return these values. OTOH, I don't know how the errcclass from gcc's error_constants.h is actually used. Maybe somebody

Re: [Mingw-w64-public] [PATCH] Revert "Avoid declaring something extern AND initializing it

2016-09-17 Thread David Wohlferd
It took me a bit to figure out the difference between my test code (which requires the patch) and yours (which can't have it). It was subtle. Try this patch (attached). dw On 9/16/2016 1:39 AM, Mateusz wrote: Hello, Since this commit I'm not able to compile Qt5 with GCC 6.1.0 and 6.2.0

[Mingw-w64-public] errno.h or winerror.h ?

2016-09-17 Thread niXman
Hi, I want to restore the order in 'error_constants.h'[1] file, because there are so many constants commented out in this file. But I have a difficulty: for example, with macro 'EAFNOSUPPORT'. This macro is defined in 'errno.h'[2] file and in 'winerror.h'(but with 'WSA' prefix)[3] file. I

[Mingw-w64-public] [PATCH] Revert "Avoid declaring something extern AND initializing it

2016-09-17 Thread Mateusz
Hello, Since this commit I'm not able to compile Qt5 with GCC 6.1.0 and 6.2.0 errors: In file included from D:/msys64/mingw64/x86_64-w64-mingw32/include/mfidl.h:73:0, from example.cc:1: D:/msys64/mingw64/x86_64-w64-mingw32/include/mftransform.h:709:47: error: 'selectany'