This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C/C++] Do not pretty-print expressions with caret diagnostics for wrong function call
- From: Jason Merrill <jason at redhat dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Sun, 22 Apr 2012 15:20:21 -0400
- Subject: Re: [C/C++] Do not pretty-print expressions with caret diagnostics for wrong function call
- References: <CAESRpQCtsxpYPM5FP0GxtgQamcXy0ht-xoqm5doyKzDLZk2Epg@mail.gmail.com>
When we aren't printing the expression, please print the type instead;
in a template it might not be clear what the type of the expression
we're complaining about works out to be.
Jason