verbose terminate() on by default

Alexandre Oliva aoliva@redhat.com
Mon Dec 23 11:24:00 GMT 2002


On Dec 23, 2002, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> Alexandre Oliva <aoliva@redhat.com> writes:

> | Precisely, but this won't prevent the then-unused junk from taking up
> | space, in case the program references anything else from the same
> | module so as to bring it in.

> If thge program doesn't reference __verbose_terminate_handler, then it
> won't be brought in.

If the program references *any* symbol in the module that references
__verbose_terminate_handle, it will be brought in, even if the program
overrides the symbol that actually references
__verbose_terminate_handle.  The program would have to override the
__verbose_terminate_handle() function too, which is non-portable and
unintuitive.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libstdc++ mailing list