This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: verbose terminate() on by default
Daniel Jacobowitz <drow@mvista.com> writes:
| Step back... Phil, your most recent patch just changed eh_terminate.cc,
| if I'm looking at the right message. That's in libsupc++. But
| verbose_terminate is in libstdc++. I see a problem there; libsupc++
| should not have link dependency on libstdc++, that defeats the point,
| doesn't it?
Good catch!
But src/cterminate.cc should have been put in libsupc++/ in the first
place.
It currenlty uses:
* free() // to free the storage allocated by the demangler
* abort() // which is already used in libsupc++
* fprintf() // which might be effcienly replaced by write() or puts().
-- Gaby