http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27089|0                           |1
        is obsolete|                            |
  Attachment #27093|0                           |1
        is obsolete|                            |

--- Comment #49 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-13 
22:59:12 UTC ---
Created attachment 27155
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27155
fix overload carets

The patch that I am currently bootstrapping. I made a small change to the
output. It looks like this now:

caret-overload.C:102:6: error: no matching function for call to ‘f(int)’
   f(1);
      ^
                        note: candidates are:
caret-overload.C:1:6: note: void f()
                      note:   candidate expects 0 arguments, 1 provided
 void f();
      ^
caret-overload.C:10:6: note: void f(int, int)
                       note:   candidate expects 2 arguments, 1 provided
 void f(int,int);
      ^


But if you don't like it, I can switch off the DI_HIDE_PREFIX for the failure
reason. Note that the notes without prefix will be perfectly aligned with the
previous message.

Reply via email to