From: Jason Merrill <jason@cygnus.com>
To: hjl@lucon.org (H.J. Lu)
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 [thread overview]
Message-ID: <u9en0yje59.fsf@yorick.cygnus.com> (raw)
In-Reply-To: <m0y5xTM-00058KC@ocean.lucon.org>
>>>>> H J Lu <hjl@lucon.org> writes:
>> >> necessary for 1.0.2. Also, your patch changes more than necessary; there's
>> >> no need to add #includes of stl_config.h.
>>
>> > STL needs a way to find the system is based on glibc 2 so that
>> > thread is enabled for glibc 2 automatically. Do you have any
>> > suggestions?
>>
>> I meant that stl_config.h will have been included already at the points
> 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
the current thread #ifdefs work?
> 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
next prev parent reply other threads:[~1998-02-20 12:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-17 9:51 (1.0.2) std/bastring.h change -- Why add std/bastring.cc? Mumit Khan
1998-02-17 10:40 ` Joe Buck
[not found] ` <199802171840.KAA06006.cygnus.egcs@atrus.synopsys.com>
1998-02-17 13:54 ` Jason Merrill
1998-02-17 15:16 ` H.J. Lu
1998-02-17 23:59 ` Mumit Khan
1998-02-18 14:54 ` H.J. Lu
1998-02-18 14:54 ` A STL patch for egcs 1.0.2 H.J. Lu
[not found] ` <m0y5H2p-00058KC.cygnus.egcs@ocean.lucon.org>
1998-02-19 10:45 ` (1.0.2) std/bastring.h change -- Why add std/bastring.cc? Jason Merrill
[not found] ` <m0y5H5T-00058KC.cygnus.egcs@ocean.lucon.org>
1998-02-19 10:47 ` A STL patch for egcs 1.0.2 Jason Merrill
1998-02-19 10:47 ` H.J. Lu
1998-02-19 12:42 ` Jason Merrill
1998-02-20 12:26 ` H.J. Lu
1998-02-20 12:26 ` Jason Merrill [this message]
1998-02-20 12:26 ` H.J. Lu
1998-02-20 11:09 ` Jason Merrill
1998-02-19 14:09 ` Ulrich Drepper
1998-02-22 16:39 ` Jeffrey A Law
1998-02-23 11:00 ` H.J. Lu
1998-02-23 9:19 ` Jeffrey A Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u9en0yje59.fsf@yorick.cygnus.com \
--to=jason@cygnus.com \
--cc=drepper@cygnus.com \
--cc=egcs@cygnus.com \
--cc=hjl@lucon.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).