[Bug c++/47436] [C++0x] Variadic base-specifier-list of union rejected

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 22 22:17:00 GMT 2011


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.



More information about the Gcc-bugs mailing list