This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A STL patch for egcs 1.0.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]