Why does debugging "pure virtual method called" have to be so hard?

Jason Merrill jason@cygnus.com
Sun Oct 25 23:42:00 GMT 1998


>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:

 > So I'd rather modify __pure_virtual() so that it calls abort() or throws
 > an exception of some non-standard type, say, __pure_virtual_exception,
 > which may end up turning into a call of unexpected(), then terminate().

Sounds good.

Jason



More information about the Gcc mailing list