NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/54411: std::locale broken



The following reply was made to PR toolchain/54411; it has been noted by GNATS.

From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost, Thomas Klausner <wiz%netbsd.org@localhost>
Subject: Re: toolchain/54411: std::locale broken
Date: Sat, 27 Jul 2019 19:50:16 +0300

 the basic problem is that we are using the generic locale which does not sup=
 port other than c.
 
 christos
 
 > On Jul 27, 2019, at 6:55 PM, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
 >=20
 > The following reply was made to PR toolchain/54411; it has been noted by G=
 NATS.
 >=20
 > From: Joerg Sonnenberger <joerg%bec.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 >    netbsd-bugs%netbsd.org@localhost
 > Subject: Re: toolchain/54411: std::locale broken
 > Date: Sat, 27 Jul 2019 17:53:45 +0200
 >=20
 >> On Sat, Jul 27, 2019 at 07:05:00AM +0000, Thomas Klausner wrote:
 >>    char thou_sep =3D std::use_facet<std::numpunct<wchar_t> >(loc).thousan=
 ds_sep();
 >=20
 > That's truncating a wchar_t to char. Not going to work at all for
 > multibyte locales.
 >=20
 > Joerg
 >=20
 


Home | Main Index | Thread Index | Old Index