This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Replace a few more error + error with error + inform
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Jason Merrill <jason at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 Jun 2017 10:55:54 +0200
- Subject: Re: [C++ Patch] Replace a few more error + error with error + inform
- Authentication-results: sourceware.org; auth=none
- References: <8407427e-d71a-e7ab-80b4-c43241044918@oracle.com>
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.