verbose terminate() on by default

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Dec 23 11:47:00 GMT 2002


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



More information about the Libstdc++ mailing list