[Bug c++/56725] extra spaces in error message

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 25 23:07:00 GMT 2013


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

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-03-25 23:07:00 UTC ---
BTW, in this case, I find the output of g++ much better than that of clang++

test.cc:7:10: error: no matching function for call to 'callf'
  return callf (23, 72,
         ^~~~~
test.cc:3:5: note: candidate function not viable: no known conversion from 'int
(int *)' to 'int (*)(double *)' for 3rd argument
int callf (int, int, int (*)(double *));
    ^
1 error generated.

Except for the fact that clang's output has beautiful colors that allow me to
easily identify the errors from the notes. ;-) ;-)


More information about the Gcc-bugs mailing list