This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] std::string::operator[] extension in debug mode
Joe Buck <Joe.Buck@synopsys.COM> writes:
| On Thu, May 19, 2005 at 06:52:05PM -0500, Douglas Gregor wrote, to Gaby:
| > Of course I remember. I've reread this comment several times and I
| > clearly don't understand what you meant:
| >
| > "If the lib was not build with debug and user wants to use it as with
| > debug support, then user is in trouble he/she asked for."
| >
| > And the point of my response to this comment was that there isn't
| > supposed to be any such "trouble", and the point of this thread is that
| > there is trouble and we need to fix that.
|
| Agreed; forcing the user (or distros) to build the library twice to
| support debug mode is a non-starter.
I think something is missed here: the question is not to ask to the
use to build twice, but to build the library in a way that support the
debug mode -- for std::string.
-- Gaby