More fallout from global.cc namespace changes

Benjamin Kosnik bkoz@redhat.com
Sat Oct 12 19:08:00 GMT 2002


> The symbols are defined in namespace __gnu_cxx in globals.cc but declared
> in namespace std in stl_threads.h.

Whoops.

> The following fixes by, declaring in __gnu_cxx is stl_threads.h. An
> alternative is to revert part of the change and define these in namespace
> std in globals.cc, as before.

It would be nice to keep all implementation bits in globals.cc out of
namespace std.

You'll need to bump the date on the stl_threads.h copyright notice.  You
could explicitly qualify the __gnu_cxx bits, or inject the names for
struct _STL_mutex_lock only, instead of a global injection in this
include file.

Loren? This looks like the only remaining damage on BSD, correct? Thinks
look ok on your testruns, threads excepted.

-benjamin



More information about the Libstdc++ mailing list