[Bug c++/24985] caret diagnostics
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 12:16:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985
--- Comment #43 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-13 12:15:45 UTC ---
(In reply to comment #42)
> (In reply to comment #40)
> > I think what Jonathan proposed in comment #37 is also nice. If Jason approves,
> > I will implement it.
>
> Yes, I like that, too. For reference, the following:
>
> note: candidate 'void f()' expects 0 arguments, 1 provided
> void f(); void f(int,int);
> ^
> note: candidate 'void f(int, int)' expects 2 arguments, 1 provided
> void f(); void f(int,int);
> ^
To avoid confusion, that was not what Jonathan proposed in comment #37.
> I'll approve a patch that implements this.
With all due respect, since this is a C++ FE issue, I'll still wait for Jason's
opinion before implementing anything. I still appreciate yours (or anyone else)
comments. Thanks.
More information about the Gcc-bugs
mailing list