libstdc++/6015: 3.1 pre libstdc++ number formatting is not mt-safe.

Teemu Torma tot@trema.com
Fri Mar 29 02:23:00 GMT 2002


On Fri, 2002-03-29 at 03:24, Benjamin Kosnik wrote:
> 
> If all you care about is LANG="C", the workaround is simple enough: just
> remove the setlocale calls. Try running the testsuite, and perhaps this 
> will explain the design decisions better than I have been able to thus far.

That is exactly what I have been doing. 

> If you'd like to implement a non-hack, I'd love to see your contribution.

I don't right now see any other solution than to implement number
formatting in libstdc++ like versions before 3 did.  Whether it would be
a hack or not is arguable.

Teemu




More information about the Gcc-bugs mailing list