http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47436
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-22 
22:05:54 UTC ---
(In reply to comment #6)
> I'm reading 14.6/8 and I tend to agree with Jon that not mentioning A<T> would
> be probably less misleading. However, I'm afraid we have the recurring problem
> that, missing caret diagnostics, we want to name something.

You don't need to name something to give a source location, just use error_at.

> Let's see if Jason has an opinion, maybe for now we want to just live with the
> current error message...

I think the current message is clear enough.  Only people writing compiler
tests are ever going to hit it.

Reply via email to