This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why does debugging "pure virtual method called" have to be so hard?
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: Why does debugging "pure virtual method called" have to be so hard?
- From: Jason Merrill <jason at cygnus dot com>
- Date: 25 Oct 1998 23:42:13 -0800
- Cc: mrs at wrs dot com (Mike Stump), egcs at cygnus dot com
- References: <199810160157.SAA17725.cygnus.egcs@kankakee.wrs.com> <u93e8pj83q.fsf@yorick.cygnus.com> <or7lxnls9v.fsf@araguaia.dcc.unicamp.br>
>>>>> 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