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.

Reply via email to