On 09/29/2017 10:04 AM, Paolo Carlini wrote:
Hi,

the main issue, a C++14 rejects-valid, is already fixed in trunk, and a while ago I added a testcase for that. However, Andrew noticed that in C++11 mode we emit redundant and also a bit puzzling diagnostic (ending with one of those annoying "... because:" and nothing after which unfortunately we emit in some other cases too). Comparing to, eg, clang too, I think we can make progress by simply returning early after the first hard error. Also, as an additional tweak, we might replace the second error with an inform, per the usual scheme. Tested x86_64-linux.

Looks good, thanks.

nathan

--
Nathan Sidwell

Reply via email to