This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for better diagnostic (was: Re: Bug in MI?)
Manfred Hollstein writes:
> - else cp_error (" since type `%T' has abstract virtual functions", type);
> + else
> + {
> + if (u == error_mark_node)
> + cp_error (" since type `%T' has virtual functions", type);
how about: ............... must override virtual functions
> + else
> + cp_error (" since type `%T' has abstract virtual functions", type);
> + }
> }
It would be even better if we could list those functions...
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil