From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: jason@cygnus.com (Jason Merrill) Cc: egcs@cygnus.com, drepper@cygnus.com Subject: Re: A STL patch for egcs 1.0.2 Date: Fri, 20 Feb 1998 12:26:00 -0000 Message-id: References: X-SW-Source: 1998-02/msg00964.html > > 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 , 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)