[PATCH] Enable libstdc++ numeric conversions on Cygwin

Jonathan Wakely jwakely@redhat.com
Sun Nov 15 11:14:00 GMT 2015


On 15/11/15 09:58 +0100, Christophe Lyon wrote:
>Ha, and my newlib copy is not very recent, it's from Oct 30th 2013:
>maybe it's too old?

The autoconf checks should handle old versions as well as new.

The problem is I didn't change a defined(_GLIBCXX_USE_C99_WCHAR) to
just test its value, rather than whether it's defined.

As I added to include/bits/c++config on Friday:

// N.B. these _GLIBCXX_USE_C99_XXX macros are defined unconditionally
// so they should be tested with #if not with #ifdef.

Fixed with this patch, committed to trunk.

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


More information about the Libstdc++ mailing list