This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 34758
Paolo Carlini wrote:
> ;) Thanks, I think that now I begin see... I got confused because an
> error message about line 2 (the constructor) actually only prints text
> referring to line 3 (and there, at line 3, *everything* has been
> parsed)... Seems just another example of the long standing issue about
> using carets in the error messages...
>
For reference, this is ICC, probably not optimal (doesn't mention
parsing or anything detailed) but clearly a completely different
"philosophy":
t.C(2): error #165: too few arguments in function call
S(const S& = f());
^
Paolo.