A STL patch for egcs 1.0.2
Jason Merrill
jason@cygnus.com
Fri Feb 20 11:09:00 GMT 1998
>>>>> 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
More information about the Gcc
mailing list