This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: verbose terminate_handler
Jason Merrill <jason@redhat.com> writes:
| >>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
|
| >> 3) Add verbose_terminate_handler to libsupc++ or libstdc++ and document it;
| >> people would still need to activate it with set_terminate.
|
| > That's got my vote; plus we should put verbose_terminate_handler in the
| > extensions namespace (__gnu_cxx).
|
| On further consideration, I think that it makes most sense to put
| current_exception_type in the ABI, and verbose_terminate_handler in
| libstdc++ somewhere. But where? More specifically, where should it be
| declared?
How about <exception> as follows
// standard thingies ...
// ...
namespace __gnu_cxx
{
declaration for __verbose_terminate_handler goes here.
}
?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com