[Bug c++/20906] excessive diagnostic messages
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 27 18:48:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmalcolm at gcc dot gnu.org
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
FWIW, with r232888 I get the same as comment #2, albeit with range-highlighted
source:
foo.cc:3:34: error: variable or field ‘pop’ declared void
template<int k> void foo<k>::pop(bar&, int) {}
^~~
foo.cc:3:37: error: missing template arguments before ‘&’ token
template<int k> void foo<k>::pop(bar&, int) {}
^
foo.cc:3:38: error: expected primary-expression before ‘,’ token
template<int k> void foo<k>::pop(bar&, int) {}
^
foo.cc:3:40: error: expected primary-expression before ‘int’
template<int k> void foo<k>::pop(bar&, int) {}
^~~
More information about the Gcc-bugs
mailing list