public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Hans-Bernhard Bröker" <HBBroeker@t-online.de>
To: cygwin@cygwin.com
Subject: Re: [:xdigit:] does not work with std::wstring in a Cygwin environment
Date: Fri, 18 Feb 2022 00:11:36 +0100	[thread overview]
Message-ID: <1032c1c3-21a7-3e37-96f5-2158080efa7d@t-online.de> (raw)
In-Reply-To: <03ac7dd2-7082-2bb1-6c1b-c230764216e2@t-online.de>

Am 15.02.2022 um 02:36 schrieb Hans-Bernhard Bröker:
> Am 13.02.2022 um 19:25 schrieb Achim Gratz:

>> There is no OS specific configuration for Cygwin explicitly, instead
>> there is one for newlib that actually gets used.

> This piqued my curiosity, so I had a look at how libstdc++ is built.  I
> found that at least for one crucial source file, called
> ctype_members.cc, cygwin builds do _not_ use the newlib edition, but
> rather the "generic" one.  And that may very well be the problem here.
[...]

I've taken the liberty of filing this upstream as a GCC/libstdc++ issue.

The extremely condensed version of the issue is that libstdc++ builds by 
selecting config/os/newlib, but it does not pick --enable-clocale=newlib.

Enabling the more global --with-newlib flag would do the latter for us, 
but it might have other, less desirable effects on top of that.

      reply	other threads:[~2022-02-17 23:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11 16:02 Gans, Markus
2022-02-11 19:35 ` Corinna Vinschen
2022-02-13 18:25 ` Achim Gratz
2022-02-15  1:36   ` Hans-Bernhard Bröker
2022-02-17 23:11     ` Hans-Bernhard Bröker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1032c1c3-21a7-3e37-96f5-2158080efa7d@t-online.de \
    --to=hbbroeker@t-online.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).