This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More fallout from global.cc namespace changes


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]