Problem with `string', threading and shared libraries.
Gabriel Dos Reis
gdr@codesourcery.com
Tue Oct 2 00:26:00 GMT 2001
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
| In article <fly9my2fce.fsf@jambon.cmla.ens-cachan.fr> you write:
| >Carlo Wood <carlo@alinoe.com> writes:
| >
| >| I really think that it was a wrong decision to include
| >| thread-safeness in the mangling of std::string.
| >
| > So we're at least two then.
|
| When you agree with Carlo on this matter, be sure you fully understand
| what you are agreeing to.
|
| He had compiled libstdc++ with a macro, reserved to the
| implementation, defined and then he compiled his user code without
| that macro defined. Nowhere do we document that macro being used by
| normal users of the library.
Thanks for the clarification. I guess I need to clarify my position
as well: I don't think --enable-threads should change std::string
mangled name.
-- Gaby
More information about the Libstdc++
mailing list