A STL patch for egcs 1.0.2

H.J. Lu hjl@lucon.org
Fri Feb 20 12:26:00 GMT 1998


> > 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?

> the current thread #ifdefs work?

It assumes -D_PTHREADS.

> 
> > I am not use if _NOTHREADS will work since you have to define it
> > both when libstdc++ is built and is used by the user code. How do
> > you make sure that?
> 
> I don't.  Users can worry about it if they really want to.  Anyway, you
> don't have to define it the same both ways; that just means you get two
> copies of the STL code.
> 
> Jason
> 

If those are not problem, can we put them in 1.0.2?

Thanks.


-- 
H.J. Lu (hjl@gnu.org)



More information about the Gcc mailing list