More fallout from global.cc namespace changes

Danny Smith danny_r_smith_2001@yahoo.co.nz
Sat Oct 12 20:53:00 GMT 2002


> >
> > > The symbols are defined in namespace __gnu_cxx in globals.cc but
> declared
> > > in namespace std in stl_threads.h.
> >
> > 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.
> >

Diff file as attachment because of long lines.

Danny

2002-10-12  Danny Smith  <dannysmith@users.sourceforge.net> 

	* include/bits/stl_threads.h (_GLIBCPP_mutex,
	_GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
	_GLIBCPP_mutex_address_init, _GLIBCPP_once):
	Declare in namespace __gnu_cxx.
	(_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
	names.
	Bump copyright date.



http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stl_threads.h.diff
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20021012/587edc76/attachment.ksh>


More information about the Libstdc++ mailing list