[C++ Patch] Replace a few more error + error with error + inform

Paolo Carlini paolo.carlini@oracle.com
Thu Jun 29 08:56:00 GMT 2017


Hi,

gently pinging this, still in my tree:

On 19/05/2017 18:13, Paolo Carlini wrote:
> Hi,
>
> while looking into some bugs (eg, c++/71464) I noticed a few more of 
> those consecutive errors, which I propose to adjust per the below 
> patchlet. The second case in add_method is a bit tricky because in 
> principle we'd really like to be more specific (eg, clang talks about 
> constructors which cannot be redeclared, member functions which cannot 
> be redeclared and many more) and avoid verbose diagnostic, but in the 
> below I only try to avoid emitting error + error... Tested x86_64-linux.

     https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01593.html

Thanks,
Paolo.



More information about the Gcc-patches mailing list