[Bug c++/53152] In "no match for operatorXX" error message gives the wrong column info
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 28 07:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53152
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |diagnostic
Last reconfirmed| |2012-04-28
Ever Confirmed|0 |1
Summary|In "no match for |In "no match for
|operatorXX" error message, |operatorXX" error message
|mention the types of the |gives the wrong column info
|arguments |
Severity|normal |enhancement
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-28 07:25:33 UTC ---
The trunk already does:
t.cc: In function ‘int main()’:
t.cc:11:21: error: no match for ‘operator==’ (operand types are ‘T’ and ‘T’)
a.foo() == b.foo();
^
Tough we don't point at == but the call to b.foo() which seems wrong.
So confirmed about the wrong column info.
More information about the Gcc-bugs
mailing list