g++ Locale ?? correction

Xi Ruoyao ryxi@stu.xidian.edu.cn
Wed May 3 07:09:00 GMT 2017


On 2017-05-03 14:32 +0800, Liu Hao wrote:
> On 2017/5/3 14:12, Xi Ruoyao wrote:
> > Liu Hao (CCed him) once said his (maybe modified) libstdc++
> > also support locale name "" (empty string).  Maybe he can help
> > you.
> No I didn't modify GCC or libstdc++ source. The "" (empty string) locale 
> works fine and conforms to the standard on my computer (that is, it is 
> identical to the "C" locale).

So where did you get the code?  Libstdc++ in current GCC trunk throw
exception for all locales (even if "") except "C".

I'll look at the standard.  Maybe upstream libstdc++ need a fix for
"" locale.

-- 
Xi Ruoyao <ryxi@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University



More information about the Gcc-help mailing list