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]
Other format: [Raw text]

Re: C++ demangler horrors


"H. J. Lu" <hjl@lucon.org> writes:

> It is wrong. There should be no __cxa_demangle in demangle.o. Also
> you should use "gcc", not "g++", when using -ldemangler. One thing
> you can try is check out today's binutils from CVS, which has my new
> demangler testcases. You should get many "make check" failures in
> libiberty. Then you replace cp-demangle.o in libiberty.a with
> demangle.o and rebuild libiberty/testsuite/test-demangle.  You
> should get no "make check" failures in libiberty with the new
> libiberty.a.

Thanks.

The demangler with my vector & string now passes those libiberty
tests.

I'll GNUify the source code as soon as I have time.

I am an absolute beginner, so what should I do next? The code is not a
trivial, so I guess I need a copyright assignment. As I'm patching a
patch, to whom should I send the files? To the original patch
submitter? Or to H. J. Lu?

-- 
Oscar


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