This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/6015: 3.1 pre libstdc++ number formatting is not mt-safe.
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Teemu Torma <tot at trema dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Thu, 28 Mar 2002 18:24:51 -0800 (PST)
- Subject: Re: libstdc++/6015: 3.1 pre libstdc++ number formatting is not mt-safe.
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.
If you'd like to implement a non-hack, I'd love to see your contribution.
best,
benjamin