This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A STL patch for egcs 1.0.2
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: A STL patch for egcs 1.0.2
- From: Jason Merrill <jason at cygnus dot com>
- Date: 20 Feb 1998 11:09:48 -0800
- Cc: egcs at cygnus dot com, drepper at cygnus dot com
- References: <m0y5xin-00058KC@ocean.lucon.org>
>>>>> H J Lu <hjl@lucon.org> writes:
>> > The problem is how you can be sure stl_config.h will be always included
>> > in the user code since libstdc++ and the user code have to match?
>>
>> Because it is. Nobody will be including, say, ropeimpl.h directly, they'll
>> include <rope>, which gets stl_config.h before ropeimpl.h. How else would
> How about stl_alloc.h and stl_rope.h?
If people include those directly, they deserve what they get. To wit:
/* NOTE: This is an internal header file, included by other STL headers.
* You should not attempt to use it directly.
*/
>> the current thread #ifdefs work?
> It assumes -D_PTHREADS.
I meant the #ifdef __STL_SGI_THREADS.
> If those are not problem, can we put them in 1.0.2?
Done.
Jason