Fix for libstdc++-v3's error_constants.h for MinGW-W64

Jonathan Wakely jwakely@redhat.com
Wed Dec 21 13:11:00 GMT 2016


On 16/12/16 20:23 +0000, Jonathan Wakely wrote:
>On 16/12/16 16:28 +0300, niXman wrote:
>>Jonathan Wakely 2016-12-16 16:04:
>>
>>>I don't think this is suitable for the branches, but could be applied
>>>to trunk (as the patch was posted during stage 1, but I missed it).
>>Ok.
>>
>>>Does this require a particular version of MinGW-w64?
>>Yes, at the moment MinGW-W64 trunk is required. (MinGW-W64-v6)
>>
>>>Does it work for older versions?
>>No.
>
>OK, how about this instead then?
>
>This unconditionally enables all the error codes supported by
>mingw-w64 v5, and uses configure checks to detect the ones that are
>only available on trunk. This means it will still work for v5, but if
>you use trunk you get them all.

I'm committing this. It should work for mingw-w64 v3.0.0 and later,
but some constants are only defined for mingw-w64 trunk.

Tested x86_64-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 7752 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20161221/90b53545/attachment.bin>


More information about the Libstdc++ mailing list