This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31117] c++locale.o thread-unsafe in libstdc++
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2007 20:44:06 -0000
- Subject: [Bug libstdc++/31117] c++locale.o thread-unsafe in libstdc++
- References: <bug-31117-9156@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #26 from pcarlini at suse dot de 2007-03-15 20:44 -------
(In reply to comment #25)
> Sorry, that news was too excellent. It's not true.
Ok.
> The reason I suggested also including <clocale> in comment #10 was because I
> found <bits/c++config.h> was not enough. I agree that <clocale> is perhaps a
> poor choice. I think it needs further investigation as to what would be a good
> choice.
No, we are done. We have only to include <bits/c++config.h> in <cerrno>, that's
fine, no problem, + defining appropriate macros in the various os_defines.h.
For Solaris, will be _TS_ERRNO, fine, I was asking whether you can figure out
macros appropriate for the various targets you are interested in: basically you
should simply open those <errno.h> and see what is protecting the declaration
of the thread-safe variant. I'd like to take care one shoot of as many as
possible, instead of fixing only Solaris.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31117