Problems with __cxa_demangle and the verbose terminate handler
Zack Weinberg
zack@codesourcery.com
Mon Feb 23 18:18:00 GMT 2004
Carlo Wood <carlo@alinoe.com> writes:
> And exactly that is the pre- of this implementation: it allows
> the writers of debug applications, like myself, to control the
> allocator that is being used. This gives control over where
> and how memory is being allocated.
Okay, so this is functionality provided by the C++ implementation and
not the C implementation. That might be a reason to keep the C++
implementation around, or else add equivalent functionality to the C
implementation.
> The restriction that it may not throw exceptions was never brought
> under my attention. I feel slightly annoyed by that fact, because
> I put a lot of extra time into the demangler as a result of your
> request to use it - and when as a result of this it would be
> removed again from the source even before the first release of 3.4
> then you*) wasted a large amount of my time.
Please understand that Mark and I are coming at this from the
perspective that the C++ demangler should never have been added
in the first place.
zw
More information about the Libstdc++
mailing list