Patch for better diagnostic (was: Re: Bug in MI?)
Alexandre Oliva
oliva@dcc.unicamp.br
Fri Mar 6 03:12:00 GMT 1998
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
More information about the Gcc-bugs
mailing list