This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22238] Awful error messages with virtual functions
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Jan 2016 21:58:37 +0000
- Subject: [Bug c++/22238] Awful error messages with virtual functions
- Auto-submitted: auto-generated
- References: <bug-22238-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22238
--- Comment #22 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Manuel LÃpez-IbÃÃez from comment #20)
[...]
> I maintain my opinion that any user-facing diagnostic using %qE is
> potentially broken.
Thanks; I'm inclined to agree.
Notes to self: implementation of %qE is in cp/error.c:cp_printer, which calls
expr_to_string.
$ grep "%qE" gcc/cp/*.c | wc -l
195