PING: [patch] improve text of two c++ diagnostics

Gabriel Dos Reis gdr@integrable-solutions.net
Fri May 14 00:03:00 GMT 2010


On Tue, May 11, 2010 at 4:29 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> A couple of small improvements to diagnostics, one is just bad grammar
> and the other refers to an "abstract virtual" function, which is not a
> term used by the C++ standard, a class can be abstract, a function
> cannot.
>
>        * cp/call.c (build_new_method_call): Change warning text.
>        * cp/typeck2.c (build_functional_cast): Change error text.
>
> tested x86_64/Linux, OK for trunk?
>
> should I also change a few comments that refer to "abstract virtual"?
> What about function and variable names?
> I consider them a lot less important than this user-visible diagnostic
> but can change them if that's wanted.

OK.



More information about the Gcc-patches mailing list