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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: new __cxa_demangle




--On Wednesday, February 19, 2003 06:31:04 PM -0600 Benjamin Kosnik <bkoz at redhat dot com> wrote:


FWIW, it would be nice to have a demangler that other implementations
of the C++ Standard library could use :)

You already do: libiberty/cp-demangle.c. You might want to look at it.


Sorry, you have not persuaded me. I'd like to try this new
implementation out.

I think it's a mistake to do a new implementation in C++.


I think that the demangler should be written in C as an independent module so that it can be used in programs that are not written in C++. And I think that having two demanglers just makes things worse; now they can be out of synch in all sorts of weird ways.

Sorry to be negative,

--
Mark Mitchell                mark at codesourcery dot com
CodeSourcery, LLC            http://www.codesourcery.com


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