This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]